Re: [PATCH 1/2] USB: musb: add two states to handle vbus error

2010-03-16 Thread wanghui
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 ca

Re: [PATCH 2/2] USB: musb: omap2430: add mode change from A to B

2010-03-16 Thread wanghui
Felipe Balbi wrote: On Mon, Mar 15, 2010 at 02:22:38PM +0300, Sergei Shtylyov wrote: The whole musb_platform_set_mode() seems to be implemented incorrectly on OMAPs -- it shouldn't touch the DevCtl.Session bit. This correct. It should be changing the id pin rules just like in tusb6