diff options
author | Bin Liu <b-liu@ti.com> | 2013-09-17 12:43:13 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-09-17 12:51:32 -0500 |
commit | 1374a430f81a67c5c594c3f3c84c58845ed7caec (patch) | |
tree | 7b09aa08a9d619434c53e1b20b86fe32e2540587 /net/sched/sch_red.c | |
parent | d3675e3a481d3320e214984a10577fe06518c5bf (diff) |
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 <b-liu@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'net/sched/sch_red.c')
0 files changed, 0 insertions, 0 deletions