From: Bin Liu Date: Tue, 17 Sep 2013 17:43:13 +0000 (-0500) Subject: usb: musb: fix otg default state X-Git-Tag: v3.12-rc4~6^2~1^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1374a430f81a67c5c594c3f3c84c58845ed7caec;p=pandora-kernel.git usb: musb: fix otg default state Right after the musb_hdrc driver is loaded, the otg default state is a_idle, and Mode=Host, which are set by musb_host_setup(). This causes the following kernel message during musb gadget enumeration. CAUTION: musb: Babble Interrupt Occurred This patch sets the otg default state to b_idle, and its Mode to Peripheral. It has been validated on TI AM335x GP EVM USB0 port with g_zero. Signed-off-by: Bin Liu Signed-off-by: Felipe Balbi --- Reading git-diff-tree failed