aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/musb')
-rw-r--r--drivers/usb/musb/blackfin.c6
-rw-r--r--drivers/usb/musb/musb_gadget.c8
2 files changed, 7 insertions, 7 deletions
diff --git a/drivers/usb/musb/blackfin.c b/drivers/usb/musb/blackfin.c
index 9d49d1cd7ce2..52312e8af213 100644
--- a/drivers/usb/musb/blackfin.c
+++ b/drivers/usb/musb/blackfin.c
@@ -322,7 +322,7 @@ static void bfin_musb_try_idle(struct musb *musb, unsigned long timeout)
322 mod_timer(&musb_conn_timer, jiffies + TIMER_DELAY); 322 mod_timer(&musb_conn_timer, jiffies + TIMER_DELAY);
323} 323}
324 324
325static int bfin_musb_get_vbus_status(struct musb *musb) 325static int bfin_musb_vbus_status(struct musb *musb)
326{ 326{
327 return 0; 327 return 0;
328} 328}
@@ -540,7 +540,7 @@ static struct dev_pm_ops bfin_pm_ops = {
540 .resume = bfin_resume, 540 .resume = bfin_resume,
541}; 541};
542 542
543#define DEV_PM_OPS &bfin_pm_op, 543#define DEV_PM_OPS &bfin_pm_ops
544#else 544#else
545#define DEV_PM_OPS NULL 545#define DEV_PM_OPS NULL
546#endif 546#endif
@@ -548,7 +548,7 @@ static struct dev_pm_ops bfin_pm_ops = {
548static struct platform_driver bfin_driver = { 548static struct platform_driver bfin_driver = {
549 .remove = __exit_p(bfin_remove), 549 .remove = __exit_p(bfin_remove),
550 .driver = { 550 .driver = {
551 .name = "musb-bfin", 551 .name = "musb-blackfin",
552 .pm = DEV_PM_OPS, 552 .pm = DEV_PM_OPS,
553 }, 553 },
554}; 554};
diff --git a/drivers/usb/musb/musb_gadget.c b/drivers/usb/musb/musb_gadget.c
index 5c7b321d3959..98519c5d8b5c 100644
--- a/drivers/usb/musb/musb_gadget.c
+++ b/drivers/usb/musb/musb_gadget.c
@@ -1880,12 +1880,12 @@ int usb_gadget_probe_driver(struct usb_gadget_driver *driver,
1880 if (retval < 0) { 1880 if (retval < 0) {
1881 DBG(1, "add_hcd failed, %d\n", retval); 1881 DBG(1, "add_hcd failed, %d\n", retval);
1882 goto err2; 1882 goto err2;
1883
1884 if ((musb->xceiv->last_event == USB_EVENT_ID)
1885 && musb->xceiv->set_vbus)
1886 otg_set_vbus(musb->xceiv, 1);
1887 } 1883 }
1888 1884
1885 if ((musb->xceiv->last_event == USB_EVENT_ID)
1886 && musb->xceiv->set_vbus)
1887 otg_set_vbus(musb->xceiv, 1);
1888
1889 hcd->self.uses_pio_for_control = 1; 1889 hcd->self.uses_pio_for_control = 1;
1890 1890
1891 if (musb->xceiv->last_event == USB_EVENT_NONE) 1891 if (musb->xceiv->last_event == USB_EVENT_NONE)