aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-imx/mach-imx6q.c
diff options
context:
space:
mode:
authorOleksij Rempel <o.rempel@pengutronix.de>2021-05-11 06:37:31 +0200
committerShawn Guo <shawnguo@kernel.org>2021-05-23 11:32:46 +0800
commit4d3b70d980c2f7ab9e58c0a2485f9fe052d768ea (patch)
treec6c8f7bc0ea10092cb203cce8f4d1f183c02dc74 /arch/arm/mach-imx/mach-imx6q.c
parentARM: imx6q: remove part of ar8031_phy_fixup() (diff)
downloadlinux-dev-4d3b70d980c2f7ab9e58c0a2485f9fe052d768ea.tar.xz
linux-dev-4d3b70d980c2f7ab9e58c0a2485f9fe052d768ea.zip
ARM: imx6q: remove BMCR_PDOWN handler in ar8035_phy_fixup()
BMCR_PDOWN is removed by resume handler at803x_resume() in drivers/net/phy/at803x.c Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'arch/arm/mach-imx/mach-imx6q.c')
-rw-r--r--arch/arm/mach-imx/mach-imx6q.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/arm/mach-imx/mach-imx6q.c b/arch/arm/mach-imx/mach-imx6q.c
index 1abefe7e1c3a..4c840e116003 100644
--- a/arch/arm/mach-imx/mach-imx6q.c
+++ b/arch/arm/mach-imx/mach-imx6q.c
@@ -110,11 +110,6 @@ static int ar8035_phy_fixup(struct phy_device *dev)
*/
ar8031_phy_fixup(dev);
- /*check phy power*/
- val = phy_read(dev, 0x0);
- if (val & BMCR_PDOWN)
- phy_write(dev, 0x0, val & ~BMCR_PDOWN);
-
return 0;
}