musb_hdrc: Fix stall handling as OTG peripheral
authorTony Lindgren <tony@atomide.com>
Sun, 14 Oct 2007 00:38:44 +0000 (17:38 -0700)
committerTony Lindgren <tony@atomide.com>
Sun, 14 Oct 2007 00:38:44 +0000 (17:38 -0700)
Prevent OTG peripheral trying to change to b_wait_acon if after
file storage CBW stall followed by SUSPEND from host. We switch
back to b_peripheral if RESET in b_wait_acon mode.

Also fix compile warning for missing default case.

And don't try to set b_wait_acon mode unless CONFIG_USB_OTG.

Signed-off-by: Tony Lindgren <tony@atomide.com>

No differences found