usb: otg: twl4030-usb: check if vbus is driven by twl itself
authorGrazvydas Ignotas <notasas@gmail.com>
Mon, 25 Feb 2013 23:11:22 +0000 (01:11 +0200)
committerGrazvydas Ignotas <notasas@gmail.com>
Tue, 12 Mar 2013 21:45:54 +0000 (23:45 +0200)
At least on pandora, STS_VBUS gets set even when VBUS is driven by twl
itself. Reporting VBUS in this case confuses OMAP musb glue and charger
driver, so check if OTG VBUS charge pump is on before reporting VBUS
event to avoid this problem.


No differences found