]> git.openfabrics.org - ~emulex/infiniband.git/commit
usb: musb: OMAP3xxx: Fix device detection in otg & host mode
authorHema HK <hemahk@ti.com>
Mon, 28 Feb 2011 09:35:29 +0000 (15:05 +0530)
committerFelipe Balbi <balbi@ti.com>
Tue, 1 Mar 2011 10:23:03 +0000 (12:23 +0200)
commit70045c57f31f998a7206baa81167c7bc9f452cef
treeb5be423069598a12f2097f87cb55fb8a713c8569
parentfb91cde49c327ff957c55d91805bc6abda59b311
usb: musb: OMAP3xxx: Fix device detection in otg & host mode

In OMAP3xxx with OTG mode or host only mode, When the device
is inserted after the gadget driver loading the enumeration was not
through. This is because the mentor controller will start sensing the
ID PIN only after setting the session bit.
So after ID-GND, need to set the session bit for mentor to get it
configured as A device.

This is a fix to set the session bit again in ID_GND notification handler.
Tested with OMAP3630Zoom3 platform.

Signed-off-by: Hema HK <hemahk@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/musb/omap2430.c