phy: sun4i-usb: Remove usb_clk_cfg set in probe
authorJagan Teki <jagan@amarulasolutions.com>
Fri, 20 Jul 2018 07:04:21 +0000 (12:34 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Tue, 31 Jul 2018 06:11:45 +0000 (11:41 +0530)
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 <jagan@amarulasolutions.com>
Tested-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/phy/allwinner/phy-sun4i-usb.c

index 01f585a283c6f6bdf429e7027be0e543676326d8..3096f12c1c6e07bfc0701c836c727a86a7947959 100644 (file)
@@ -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;
 }