From: Sebastian Bauer Date: Thu, 21 Jul 2011 13:40:07 +0000 (+0200) Subject: usb: gadget: hid: don't STALL when processing a HID Descriptor request X-Git-Tag: v3.1-rc2~14^2~20^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c240d78a8f9b1d4e1d391203f4a698117fae3474;p=pandora-kernel.git 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 Acked-by: Peter Korsgaard Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed