]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net: phy: smsc: add helper smsc_phy_config_edpd
authorHeiner Kallweit <hkallweit1@gmail.com>
Sun, 2 Apr 2023 15:12:20 +0000 (17:12 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Apr 2023 09:08:42 +0000 (10:08 +0100)
commit89946e31ff4f7f43b3cf4837eb5b9f141eb6f1d6
tree64b90318a8cc2956a1c602f691cc2837d0adda55
parentfc281d78b6863ba86baec220651fef815341d3a0
net: phy: smsc: add helper smsc_phy_config_edpd

Add helper smsc_phy_config_edpd() and explicitly clear bit
MII_LAN83C185_EDPWRDOWN is edpd_enable isn't set.
Boot loader may have left whatever value.

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/smsc.c