From: Jagan Teki Date: Fri, 20 Jul 2018 07:04:21 +0000 (+0530) Subject: phy: sun4i-usb: Remove usb_clk_cfg set in probe X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=52185b094d6283808d67d64949891edbe26abba2;p=project%2Fbcm63xx%2Fu-boot.git phy: sun4i-usb: Remove usb_clk_cfg set in probe usb_clk_cfg is setting CTRL_PHYGATE bit value in probe which is BIT 0 for sun4i, 6i and 8 for a83t but all these were handling in phy ops init exit calls. Signed-off-by: Jagan Teki Tested-by: Jagan Teki --- diff --git a/drivers/phy/allwinner/phy-sun4i-usb.c b/drivers/phy/allwinner/phy-sun4i-usb.c index 01f585a283..3096f12c1c 100644 --- a/drivers/phy/allwinner/phy-sun4i-usb.c +++ b/drivers/phy/allwinner/phy-sun4i-usb.c @@ -462,8 +462,6 @@ static int sun4i_usb_phy_probe(struct udevice *dev) phy->rst_mask = info->rst_mask; }; - setbits_le32(&data->ccm->usb_clk_cfg, CCM_USB_CTRL_PHYGATE); - debug("Allwinner Sun4I USB PHY driver loaded\n"); return 0; }