aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/musb
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/musb')
-rw-r--r--drivers/usb/musb/am35x.c4
-rw-r--r--drivers/usb/musb/blackfin.c4
-rw-r--r--drivers/usb/musb/da8xx.c4
-rw-r--r--drivers/usb/musb/davinci.c6
-rw-r--r--drivers/usb/musb/musb_core.c2
-rw-r--r--drivers/usb/musb/musb_dsps.c6
-rw-r--r--drivers/usb/musb/omap2430.c4
-rw-r--r--drivers/usb/musb/tusb6010.c6
-rw-r--r--drivers/usb/musb/ux500.c4
9 files changed, 20 insertions, 20 deletions
diff --git a/drivers/usb/musb/am35x.c b/drivers/usb/musb/am35x.c
index 9f3eda91ea4d..a75989bbb3d4 100644
--- a/drivers/usb/musb/am35x.c
+++ b/drivers/usb/musb/am35x.c
@@ -364,7 +364,7 @@ static int am35x_musb_init(struct musb *musb)
364 return -ENODEV; 364 return -ENODEV;
365 365
366 usb_nop_xceiv_register(); 366 usb_nop_xceiv_register();
367 musb->xceiv = usb_get_transceiver(); 367 musb->xceiv = usb_get_phy();
368 if (!musb->xceiv) 368 if (!musb->xceiv)
369 return -ENODEV; 369 return -ENODEV;
370 370
@@ -406,7 +406,7 @@ static int am35x_musb_exit(struct musb *musb)
406 if (data->set_phy_power) 406 if (data->set_phy_power)
407 data->set_phy_power(0); 407 data->set_phy_power(0);
408 408
409 usb_put_transceiver(musb->xceiv); 409 usb_put_phy(musb->xceiv);
410 usb_nop_xceiv_unregister(); 410 usb_nop_xceiv_unregister();
411 411
412 return 0; 412 return 0;
diff --git a/drivers/usb/musb/blackfin.c b/drivers/usb/musb/blackfin.c
index a087ed6c3be9..522a4a263df8 100644
--- a/drivers/usb/musb/blackfin.c
+++ b/drivers/usb/musb/blackfin.c
@@ -415,7 +415,7 @@ static int bfin_musb_init(struct musb *musb)
415 gpio_direction_output(musb->config->gpio_vrsel, 0); 415 gpio_direction_output(musb->config->gpio_vrsel, 0);
416 416
417 usb_nop_xceiv_register(); 417 usb_nop_xceiv_register();
418 musb->xceiv = usb_get_transceiver(); 418 musb->xceiv = usb_get_phy();
419 if (!musb->xceiv) { 419 if (!musb->xceiv) {
420 gpio_free(musb->config->gpio_vrsel); 420 gpio_free(musb->config->gpio_vrsel);
421 return -ENODEV; 421 return -ENODEV;
@@ -440,7 +440,7 @@ static int bfin_musb_exit(struct musb *musb)
440{ 440{
441 gpio_free(musb->config->gpio_vrsel); 441 gpio_free(musb->config->gpio_vrsel);
442 442
443 usb_put_transceiver(musb->xceiv); 443 usb_put_phy(musb->xceiv);
444 usb_nop_xceiv_unregister(); 444 usb_nop_xceiv_unregister();
445 return 0; 445 return 0;
446} 446}
diff --git a/drivers/usb/musb/da8xx.c b/drivers/usb/musb/da8xx.c
index 8bd9566f3fbb..61868d604b28 100644
--- a/drivers/usb/musb/da8xx.c
+++ b/drivers/usb/musb/da8xx.c
@@ -425,7 +425,7 @@ static int da8xx_musb_init(struct musb *musb)
425 goto fail; 425 goto fail;
426 426
427 usb_nop_xceiv_register(); 427 usb_nop_xceiv_register();
428 musb->xceiv = usb_get_transceiver(); 428 musb->xceiv = usb_get_phy();
429 if (!musb->xceiv) 429 if (!musb->xceiv)
430 goto fail; 430 goto fail;
431 431
@@ -458,7 +458,7 @@ static int da8xx_musb_exit(struct musb *musb)
458 458
459 phy_off(); 459 phy_off();
460 460
461 usb_put_transceiver(musb->xceiv); 461 usb_put_phy(musb->xceiv);
462 usb_nop_xceiv_unregister(); 462 usb_nop_xceiv_unregister();
463 463
464 return 0; 464 return 0;
diff --git a/drivers/usb/musb/davinci.c b/drivers/usb/musb/davinci.c
index 768b4b55c816..441f776366f3 100644
--- a/drivers/usb/musb/davinci.c
+++ b/drivers/usb/musb/davinci.c
@@ -384,7 +384,7 @@ static int davinci_musb_init(struct musb *musb)
384 u32 revision; 384 u32 revision;
385 385
386 usb_nop_xceiv_register(); 386 usb_nop_xceiv_register();
387 musb->xceiv = usb_get_transceiver(); 387 musb->xceiv = usb_get_phy();
388 if (!musb->xceiv) 388 if (!musb->xceiv)
389 goto unregister; 389 goto unregister;
390 390
@@ -443,7 +443,7 @@ static int davinci_musb_init(struct musb *musb)
443 return 0; 443 return 0;
444 444
445fail: 445fail:
446 usb_put_transceiver(musb->xceiv); 446 usb_put_phy(musb->xceiv);
447unregister: 447unregister:
448 usb_nop_xceiv_unregister(); 448 usb_nop_xceiv_unregister();
449 return -ENODEV; 449 return -ENODEV;
@@ -493,7 +493,7 @@ static int davinci_musb_exit(struct musb *musb)
493 493
494 phy_off(); 494 phy_off();
495 495
496 usb_put_transceiver(musb->xceiv); 496 usb_put_phy(musb->xceiv);
497 usb_nop_xceiv_unregister(); 497 usb_nop_xceiv_unregister();
498 498
499 return 0; 499 return 0;
diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c
index db3dff854b71..26f1befb4896 100644
--- a/drivers/usb/musb/musb_core.c
+++ b/drivers/usb/musb/musb_core.c
@@ -1909,7 +1909,7 @@ musb_init_controller(struct device *dev, int nIrq, void __iomem *ctrl)
1909 /* The musb_platform_init() call: 1909 /* The musb_platform_init() call:
1910 * - adjusts musb->mregs and musb->isr if needed, 1910 * - adjusts musb->mregs and musb->isr if needed,
1911 * - may initialize an integrated tranceiver 1911 * - may initialize an integrated tranceiver
1912 * - initializes musb->xceiv, usually by otg_get_transceiver() 1912 * - initializes musb->xceiv, usually by otg_get_phy()
1913 * - stops powering VBUS 1913 * - stops powering VBUS
1914 * 1914 *
1915 * There are various transceiver configurations. Blackfin, 1915 * There are various transceiver configurations. Blackfin,
diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb/musb_dsps.c
index 23db42db761a..716c113608f4 100644
--- a/drivers/usb/musb/musb_dsps.c
+++ b/drivers/usb/musb/musb_dsps.c
@@ -376,7 +376,7 @@ static int dsps_musb_init(struct musb *musb)
376 376
377 /* NOP driver needs change if supporting dual instance */ 377 /* NOP driver needs change if supporting dual instance */
378 usb_nop_xceiv_register(); 378 usb_nop_xceiv_register();
379 musb->xceiv = usb_get_transceiver(); 379 musb->xceiv = usb_get_phy();
380 if (!musb->xceiv) 380 if (!musb->xceiv)
381 return -ENODEV; 381 return -ENODEV;
382 382
@@ -409,7 +409,7 @@ static int dsps_musb_init(struct musb *musb)
409 409
410 return 0; 410 return 0;
411err0: 411err0:
412 usb_put_transceiver(musb->xceiv); 412 usb_put_phy(musb->xceiv);
413 usb_nop_xceiv_unregister(); 413 usb_nop_xceiv_unregister();
414 return status; 414 return status;
415} 415}
@@ -430,7 +430,7 @@ static int dsps_musb_exit(struct musb *musb)
430 data->set_phy_power(0); 430 data->set_phy_power(0);
431 431
432 /* NOP driver needs change if supporting dual instance */ 432 /* NOP driver needs change if supporting dual instance */
433 usb_put_transceiver(musb->xceiv); 433 usb_put_phy(musb->xceiv);
434 usb_nop_xceiv_unregister(); 434 usb_nop_xceiv_unregister();
435 435
436 return 0; 436 return 0;
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}
diff --git a/drivers/usb/musb/tusb6010.c b/drivers/usb/musb/tusb6010.c
index de1355946a83..a004736186f1 100644
--- a/drivers/usb/musb/tusb6010.c
+++ b/drivers/usb/musb/tusb6010.c
@@ -1078,7 +1078,7 @@ static int tusb_musb_init(struct musb *musb)
1078 int ret; 1078 int ret;
1079 1079
1080 usb_nop_xceiv_register(); 1080 usb_nop_xceiv_register();
1081 musb->xceiv = usb_get_transceiver(); 1081 musb->xceiv = usb_get_phy();
1082 if (!musb->xceiv) 1082 if (!musb->xceiv)
1083 return -ENODEV; 1083 return -ENODEV;
1084 1084
@@ -1130,7 +1130,7 @@ done:
1130 if (sync) 1130 if (sync)
1131 iounmap(sync); 1131 iounmap(sync);
1132 1132
1133 usb_put_transceiver(musb->xceiv); 1133 usb_put_phy(musb->xceiv);
1134 usb_nop_xceiv_unregister(); 1134 usb_nop_xceiv_unregister();
1135 } 1135 }
1136 return ret; 1136 return ret;
@@ -1146,7 +1146,7 @@ static int tusb_musb_exit(struct musb *musb)
1146 1146
1147 iounmap(musb->sync_va); 1147 iounmap(musb->sync_va);
1148 1148
1149 usb_put_transceiver(musb->xceiv); 1149 usb_put_phy(musb->xceiv);
1150 usb_nop_xceiv_unregister(); 1150 usb_nop_xceiv_unregister();
1151 return 0; 1151 return 0;
1152} 1152}
diff --git a/drivers/usb/musb/ux500.c b/drivers/usb/musb/ux500.c
index aa09dd417b94..53006b113b12 100644
--- a/drivers/usb/musb/ux500.c
+++ b/drivers/usb/musb/ux500.c
@@ -37,7 +37,7 @@ struct ux500_glue {
37 37
38static int ux500_musb_init(struct musb *musb) 38static int ux500_musb_init(struct musb *musb)
39{ 39{
40 musb->xceiv = usb_get_transceiver(); 40 musb->xceiv = usb_get_phy();
41 if (!musb->xceiv) { 41 if (!musb->xceiv) {
42 pr_err("HS USB OTG: no transceiver configured\n"); 42 pr_err("HS USB OTG: no transceiver configured\n");
43 return -ENODEV; 43 return -ENODEV;
@@ -48,7 +48,7 @@ static int ux500_musb_init(struct musb *musb)
48 48
49static int ux500_musb_exit(struct musb *musb) 49static int ux500_musb_exit(struct musb *musb)
50{ 50{
51 usb_put_transceiver(musb->xceiv); 51 usb_put_phy(musb->xceiv);
52 52
53 return 0; 53 return 0;
54} 54}