diff options
author | Heikki Krogerus <heikki.krogerus@linux.intel.com> | 2012-02-13 06:24:18 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-02-27 08:41:48 -0500 |
commit | b96d3b08365f5a9603f50f3aadca6012f7eaffa1 (patch) | |
tree | fceda0fed3b03c96353dc8cd21a965ba986e3e09 /drivers/usb/musb/da8xx.c | |
parent | b1c711d629358576e8896a18e74cd5f4d811d7f7 (diff) |
usb: Convert all users to new usb_phy
Use the new usb_phy_* functions with transceiver
operations instead of the old otg functions.
Includes fixes from Sascha Hauer.
Signed-off-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Acked-by: Sascha Hauer <s.hauer@pengutronix.de>
Acked-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
Acked-by: Li Yang <leoli@freescale.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Reviewed-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/musb/da8xx.c')
-rw-r--r-- | drivers/usb/musb/da8xx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/usb/musb/da8xx.c b/drivers/usb/musb/da8xx.c index f0cb7767fa6a..bd38119bc66c 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 = otg_get_transceiver(); | 428 | musb->xceiv = usb_get_transceiver(); |
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 | otg_put_transceiver(musb->xceiv); | 461 | usb_put_transceiver(musb->xceiv); |
462 | usb_nop_xceiv_unregister(); | 462 | usb_nop_xceiv_unregister(); |
463 | 463 | ||
464 | return 0; | 464 | return 0; |