Skip to content
Commit 71964b9a authored by Sebastian Bauer's avatar Sebastian Bauer Committed by Felipe Balbi
Browse files

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: default avatarSebastian Bauer <mail@sebastianbauer.info>
Acked-by: default avatarPeter Korsgaard <peter.korsgaard@barco.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 26e5c3e2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment