mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-29 22:14:41 +08:00
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>
This commit is contained in:
parent
5fff104f04
commit
4d3b70d980
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user