diff options
author | Oleksij Rempel <o.rempel@pengutronix.de> | 2021-05-11 06:37:31 +0200 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2021-05-23 11:32:46 +0800 |
commit | 4d3b70d980c2f7ab9e58c0a2485f9fe052d768ea (patch) | |
tree | c6c8f7bc0ea10092cb203cce8f4d1f183c02dc74 | |
parent | 5fff104f04dca67eb099026e88234b0ed3f8cb27 (diff) |
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>
-rw-r--r-- | arch/arm/mach-imx/mach-imx6q.c | 5 |
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; } |