]> www.infradead.org Git - users/hch/dma-mapping.git/commitdiff
ARM: imx6q: remove part of ar8031_phy_fixup()
authorOleksij Rempel <o.rempel@pengutronix.de>
Tue, 11 May 2021 04:37:30 +0000 (06:37 +0200)
committerShawn Guo <shawnguo@kernel.org>
Sun, 23 May 2021 03:32:46 +0000 (11:32 +0800)
This part of this fixup is overwritten by at803x_config_init() in
drivers/net/phy/at803x.c. No additional devicetree fixes are needed.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
arch/arm/mach-imx/mach-imx6q.c

index 78205f90da277efabed33c86a086561645852976..1abefe7e1c3ad337899eb76d06196004ce6939f4 100644 (file)
@@ -82,12 +82,6 @@ static int ar8031_phy_fixup(struct phy_device *dev)
        val |= 0x18;
        phy_write(dev, 0xe, val);
 
-       /* introduce tx clock delay */
-       phy_write(dev, 0x1d, 0x5);
-       val = phy_read(dev, 0x1e);
-       val |= 0x0100;
-       phy_write(dev, 0x1e, val);
-
        return 0;
 }