aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/omap_udc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/gadget/omap_udc.c')
-rw-r--r--drivers/usb/gadget/omap_udc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/gadget/omap_udc.c b/drivers/usb/gadget/omap_udc.c
index 7ba32469c5bd..74b9bb8099e7 100644
--- a/drivers/usb/gadget/omap_udc.c
+++ b/drivers/usb/gadget/omap_udc.c
@@ -2865,7 +2865,7 @@ static int __init omap_udc_probe(struct platform_device *pdev)
2865 * use it. Except for OTG, we don't _need_ to talk to one; 2865 * use it. Except for OTG, we don't _need_ to talk to one;
2866 * but not having one probably means no VBUS detection. 2866 * but not having one probably means no VBUS detection.
2867 */ 2867 */
2868 xceiv = usb_get_transceiver(); 2868 xceiv = usb_get_phy();
2869 if (xceiv) 2869 if (xceiv)
2870 type = xceiv->label; 2870 type = xceiv->label;
2871 else if (config->otg) { 2871 else if (config->otg) {
@@ -3011,7 +3011,7 @@ cleanup1:
3011 3011
3012cleanup0: 3012cleanup0:
3013 if (xceiv) 3013 if (xceiv)
3014 usb_put_transceiver(xceiv); 3014 usb_put_phy(xceiv);
3015 3015
3016 if (cpu_is_omap16xx() || cpu_is_omap24xx() || cpu_is_omap7xx()) { 3016 if (cpu_is_omap16xx() || cpu_is_omap24xx() || cpu_is_omap7xx()) {
3017 clk_disable(hhc_clk); 3017 clk_disable(hhc_clk);
@@ -3041,7 +3041,7 @@ static int __exit omap_udc_remove(struct platform_device *pdev)
3041 3041
3042 pullup_disable(udc); 3042 pullup_disable(udc);
3043 if (udc->transceiver) { 3043 if (udc->transceiver) {
3044 usb_put_transceiver(udc->transceiver); 3044 usb_put_phy(udc->transceiver);
3045 udc->transceiver = NULL; 3045 udc->transceiver = NULL;
3046 } 3046 }
3047 omap_writew(0, UDC_SYSCON1); 3047 omap_writew(0, UDC_SYSCON1);