commit | cd42fef0a0b061817904fd6feb0de66830794857 | [log] [tgz] |
---|---|---|
author | Felipe Balbi <felipe.balbi@nokia.com> | Tue Dec 15 13:47:30 2009 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Wed Dec 23 11:34:17 2009 -0800 |
tree | 39f03b9d03f517c644b6e463ee733ee0959c2104 | |
parent | d4c433fe6f04195a1a0d2146d9f11ad45eecef86 [diff] |
USB: musb: do not work if no gadget driver is loaded On OTG and gadget-only configurations, we need a gadget driver in order to work properly, so avoid changing operation modes when there's no gadget driver loaded. Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com> Cc: David Brownell <dbrownell@users.sourceforge.net> Acked-by: Anand Gadiyar <gadiyar@ti.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>