Commit d0390d92 authored by stephane duverger's avatar stephane duverger Committed by Greg Kroah-Hartman

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: default avatarStephane Duverger <stephane.duverger@gmail.com>
Cc: Felipe Balbi <felipe.balbi@nokia.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent f6c826a9
...@@ -402,6 +402,9 @@ __acquires(musb->lock) ...@@ -402,6 +402,9 @@ __acquires(musb->lock)
musb->g.a_alt_hnp_support = 1; musb->g.a_alt_hnp_support = 1;
break; break;
#endif #endif
case USB_DEVICE_DEBUG_MODE:
handled = 0;
break;
stall: stall:
default: default:
handled = -EINVAL; handled = -EINVAL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment