phy: micrel.c: Enable ksz9031 energy-detect power-down mode
authorMike Looijmans <mike.looijmans@topic.nl>
Tue, 4 Oct 2016 05:52:04 +0000 (07:52 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Oct 2016 01:19:06 +0000 (21:19 -0400)
commitaf70c1f92d3567035d2f73f39079459d58c706dc
tree3c1e3afa5a3ce61dadb675f0e253e1b2ff6bd6bc
parenta44c984f1ef16229cdfd92326ad10118b1940ff9
phy: micrel.c: Enable ksz9031 energy-detect power-down mode

Set bit 0 in register 1C.23 to enable the EDPD feature of the
KSZ9031 PHY. This reduces power consumption when the link is
down.

Signed-off-by: Mike Looijmans <mike.looijmans@topic.nl>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/micrel.c