diff options
author | Sebastian Bauer <mail@sebastianbauer.info> | 2011-07-21 09:40:07 -0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2011-08-12 04:52:37 -0400 |
commit | 71964b9a0c06f2804be3b6ff47fab07a9468ecb4 (patch) | |
tree | 94bb6b6d9513419bcab7ea0abd76f7cda9a0988d /drivers/usb/gadget/u_audio.c | |
parent | 26e5c3e227d15a44402e1c9ab817fe48142b4b99 (diff) |
usb: gadget: hid: don't STALL when processing a HID Descriptor request
This is a patch to fix an issue with the HID gadget which, at the moment,
returns STALL on a HID descriptor request. Essentially, the patch changes
the hid gadget such that a request for the HID descriptor is handled by
copying the descriptor into the response buffer, rather than falling
through the default case, in which the request is answered by a STALL.
Signed-off-by: Sebastian Bauer <mail@sebastianbauer.info>
Acked-by: Peter Korsgaard <peter.korsgaard@barco.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/u_audio.c')
0 files changed, 0 insertions, 0 deletions