From: Tony Lindgren Date: Sun, 14 Oct 2007 00:38:44 +0000 (-0700) Subject: musb_hdrc: Fix stall handling as OTG peripheral X-Git-Tag: v2.6.23-omap1~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=47c7785083ea67a7be90c7ace22ea639fa2e48f4;p=pandora-kernel.git musb_hdrc: Fix stall handling as OTG peripheral 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 --- Reading git-diff-tree failed