|
@@ -2897,8 +2897,6 @@ static int s3c_hsotg_udc_stop(struct usb_gadget *gadget,
|
|
|
|
|
|
spin_lock_irqsave(&hsotg->lock, flags);
|
|
spin_lock_irqsave(&hsotg->lock, flags);
|
|
|
|
|
|
- s3c_hsotg_phy_disable(hsotg);
|
|
|
|
-
|
|
|
|
if (!driver)
|
|
if (!driver)
|
|
hsotg->driver = NULL;
|
|
hsotg->driver = NULL;
|
|
|
|
|
|
@@ -3582,7 +3580,6 @@ static int s3c_hsotg_remove(struct platform_device *pdev)
|
|
usb_gadget_unregister_driver(hsotg->driver);
|
|
usb_gadget_unregister_driver(hsotg->driver);
|
|
}
|
|
}
|
|
|
|
|
|
- s3c_hsotg_phy_disable(hsotg);
|
|
|
|
if (hsotg->phy)
|
|
if (hsotg->phy)
|
|
phy_exit(hsotg->phy);
|
|
phy_exit(hsotg->phy);
|
|
clk_disable_unprepare(hsotg->clk);
|
|
clk_disable_unprepare(hsotg->clk);
|