mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 17:30:02 +00:00
USB: musb: forward debug mode feature to gadget
This is a patch for the musb usb controller. It allows forwarding of the debug mode feature to its gadget in order to be able to act as an ehci debug device. This patch has been tested on an IGEPv2 board running a 2.6.35-rc1 kernel. Signed-off-by: Stephane Duverger <stephane.duverger@gmail.com> Cc: Felipe Balbi <felipe.balbi@nokia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
f6c826a900
commit
d0390d92bf
1 changed files with 3 additions and 0 deletions
|
@ -402,6 +402,9 @@ __acquires(musb->lock)
|
|||
musb->g.a_alt_hnp_support = 1;
|
||||
break;
|
||||
#endif
|
||||
case USB_DEVICE_DEBUG_MODE:
|
||||
handled = 0;
|
||||
break;
|
||||
stall:
|
||||
default:
|
||||
handled = -EINVAL;
|
||||
|
|
Loading…
Reference in a new issue