On omap platforms, when configuring the kernel, if we choose the musb
work as host or OTG mode and we plug
a mini-A cable into the socket, after the kernel boot up in host mode or
insmod gadget driver in OTG mode,
the state of musb's xceiv is A_IDLE or B_IDLE correspondingly because id
change
When the MUSB is configured as host mode or OTG mode, the xceiv-state
will be set to OTG_STATE_A_IDLE or OTG_STATE_B_IDLE unconditionally
during init process. These init states can change to other
states When the MUSB module detects id pin change, devices connect or
disconnect.
But on some