projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fff104
)
ARM: imx6q: remove BMCR_PDOWN handler in ar8035_phy_fixup()
author
Oleksij Rempel
<o.rempel@pengutronix.de>
Tue, 11 May 2021 04:37:31 +0000
(06:37 +0200)
committer
Shawn Guo
<shawnguo@kernel.org>
Sun, 23 May 2021 03:32:46 +0000
(11:32 +0800)
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>
arch/arm/mach-imx/mach-imx6q.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-imx/mach-imx6q.c
b/arch/arm/mach-imx/mach-imx6q.c
index 1abefe7e1c3ad337899eb76d06196004ce6939f4..4c840e116003441f438da4c599b8a0a34b99b619 100644
(file)
--- 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;
}