diff options
author | Felipe Balbi <balbi@ti.com> | 2011-08-29 11:54:08 +0300 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2011-09-09 13:06:06 +0300 |
commit | 7c5881d1625d844cdfcc027a970f0d034b982ba5 (patch) | |
tree | c57820b64f80d9a9e1acef233a8bcb08998436ee /drivers/usb/musb/musb_gadget.c | |
parent | ef7f584ce7b40bcfc108477d2711270379ca8596 (diff) | |
download | blackbird-op-linux-7c5881d1625d844cdfcc027a970f0d034b982ba5.tar.gz blackbird-op-linux-7c5881d1625d844cdfcc027a970f0d034b982ba5.zip |
usb: gadget: audio: queue wLength-sized requests
On Audio class, the wLength field of the Setup
packet, contains the data payload size of the
following Data phase. Instead of harcoding values,
use wLength.
This also fixes a bug where Gadget driver had to
receive 3 bytes, but it was queueing a ZLP.
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/musb/musb_gadget.c')
0 files changed, 0 insertions, 0 deletions