Merge branch 'stable-3.2' into pandora-3.2
[pandora-kernel.git] / drivers / usb / musb / omap2430.c
index 74f2fb9..55c0b93 100644 (file)
@@ -266,6 +266,8 @@ static int musb_otg_notifications(struct notifier_block *nb,
 
                if (is_otg_enabled(musb) || is_peripheral_enabled(musb))
                        if (musb->gadget_driver) {
+                               omap2430_musb_set_vbus(musb, 0);
+
                                pm_runtime_mark_last_busy(musb->controller);
                                pm_runtime_put_autosuspend(musb->controller);
                        }