diff options
Diffstat (limited to 'drivers/usb/musb/omap2430.c')
-rw-r--r-- | drivers/usb/musb/omap2430.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/musb/omap2430.c b/drivers/usb/musb/omap2430.c index c7785e81254c..e16dbbf7f305 100644 --- a/drivers/usb/musb/omap2430.c +++ b/drivers/usb/musb/omap2430.c | |||
@@ -292,7 +292,7 @@ static int omap2430_musb_init(struct musb *musb) | |||
292 | * up through ULPI. TWL4030-family PMICs include one, | 292 | * up through ULPI. TWL4030-family PMICs include one, |
293 | * which needs a driver, drivers aren't always needed. | 293 | * which needs a driver, drivers aren't always needed. |
294 | */ | 294 | */ |
295 | musb->xceiv = usb_get_transceiver(); | 295 | musb->xceiv = usb_get_phy(); |
296 | if (!musb->xceiv) { | 296 | if (!musb->xceiv) { |
297 | pr_err("HS USB OTG: no transceiver configured\n"); | 297 | pr_err("HS USB OTG: no transceiver configured\n"); |
298 | return -ENODEV; | 298 | return -ENODEV; |
@@ -391,7 +391,7 @@ static int omap2430_musb_exit(struct musb *musb) | |||
391 | cancel_work_sync(&musb->otg_notifier_work); | 391 | cancel_work_sync(&musb->otg_notifier_work); |
392 | 392 | ||
393 | omap2430_low_level_exit(musb); | 393 | omap2430_low_level_exit(musb); |
394 | usb_put_transceiver(musb->xceiv); | 394 | usb_put_phy(musb->xceiv); |
395 | 395 | ||
396 | return 0; | 396 | return 0; |
397 | } | 397 | } |