summaryrefslogtreecommitdiff
path: root/drivers/usb/phy/phy-tusb.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/phy/phy-tusb.c')
-rw-r--r--drivers/usb/phy/phy-tusb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/phy/phy-tusb.c b/drivers/usb/phy/phy-tusb.c
index 451ac248c27..3f52584627e 100644
--- a/drivers/usb/phy/phy-tusb.c
+++ b/drivers/usb/phy/phy-tusb.c
@@ -183,10 +183,12 @@ static void tusb_usb_work_func(struct work_struct *work)
atomic_notifier_call_chain(&tusb->phy.notifier,
USB_EVENT_VBUS, NULL);
tusb->phy.last_event = USB_EVENT_VBUS;
+ omap_musb_mailbox(OMAP_MUSB_VBUS_VALID);
} else {
atomic_notifier_call_chain(&tusb->phy.notifier,
USB_EVENT_NONE, NULL);
tusb->phy.last_event = USB_EVENT_NONE;
+ omap_musb_mailbox(OMAP_MUSB_VBUS_OFF);
}
power_supply_changed(&tusb->psy);