commit | f65f4f40fb23b64a59adbe8629e8e7e6fea279cf | [log] [tgz] |
---|---|---|
author | Grazvydas Ignotas <notasas@gmail.com> | Sun Mar 24 17:36:53 2013 +0200 |
committer | Felipe Balbi <balbi@ti.com> | Tue Apr 02 11:42:41 2013 +0300 |
tree | 647535e5bb45b0c0e753e8baad0ff4c328ef0787 | |
parent | 6b0cfc656f8a649fbfbe11e76e0aa301ee26879e [diff] |
usb: phy: twl4030-usb: check if vbus is driven by twl itself 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. Signed-off-by: Grazvydas Ignotas <notasas@gmail.com> Signed-off-by: Felipe Balbi <balbi@ti.com>