commit | b65ae0f1a7b98c370967cf161ee87011e3ecdd77 | [log] [tgz] |
---|---|---|
author | Grazvydas Ignotas <notasas@gmail.com> | Sun Mar 24 17:36:55 2013 +0200 |
committer | Felipe Balbi <balbi@ti.com> | Tue Apr 02 11:42:44 2013 +0300 |
tree | e31163ec0b2c697e6fa5d1eaf83d9559308e3c33 | |
parent | 2c1fe89db1cfa9826c94e848c14dc68de0e2b0d5 [diff] |
usb: musb: gadget: use platform callback to enable vbus On some platform configurations (like OMAP3+twl4030) it's the platform code that enables VBUS, not OTG transceiver, so call vbus platform callback instead, it will then call the transceiver if needed. This fixes a use case where USB cable is plugged first and gadget driver is loaded later after that. Signed-off-by: Grazvydas Ignotas <notasas@gmail.com> Signed-off-by: Felipe Balbi <balbi@ti.com>