diff options
Diffstat (limited to 'drivers/usb/musb/omap2430.c')
-rw-r--r-- | drivers/usb/musb/omap2430.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/musb/omap2430.c b/drivers/usb/musb/omap2430.c index d51b15adc0b0..b996fec84c29 100644 --- a/drivers/usb/musb/omap2430.c +++ b/drivers/usb/musb/omap2430.c | |||
@@ -271,7 +271,7 @@ static int musb_otg_notifications(struct notifier_block *nb, | |||
271 | DBG(4, "VBUS Disconnect\n"); | 271 | DBG(4, "VBUS Disconnect\n"); |
272 | 272 | ||
273 | #ifdef CONFIG_USB_GADGET_MUSB_HDRC | 273 | #ifdef CONFIG_USB_GADGET_MUSB_HDRC |
274 | if (is_otg_enabled(musb)) | 274 | if (is_otg_enabled(musb) || is_peripheral_enabled(musb)) |
275 | if (musb->gadget_driver) | 275 | if (musb->gadget_driver) |
276 | #endif | 276 | #endif |
277 | { | 277 | { |