On 09/17/2012 08:02 AM, Jassi Brar wrote:

Though better would be to not refuse IN transfers if an OUT ep isn't
available and vice versa - the sound card might support only either
Playback or Capture, it doesn't have to always support both. The rbuf
should have been allocated only for ep that exists. So I think, while
this patch prevents potential null-pointer dereferencing it also weeds
out the "simplex" capability of the driver.

But if you have on out ep or only in ep you have to update your
descriptors and this has not been done.

Thanks.

Sebastian
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to