]> git.baikalelectronics.ru Git - kernel.git/commit
net: pcs: xpcs: fix incorrect steps on disable EEE
authorWong Vee Khee <vee.khee.wong@linux.intel.com>
Tue, 5 Oct 2021 11:50:59 +0000 (19:50 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Oct 2021 10:18:27 +0000 (11:18 +0100)
commit094a30f15a92fe6e33ed433b36cdb121918ec7b7
tree7e8e925fc7eac723b17c19b8981f70b74b553efe
parent9309035f33018a25dcd2a473ff0621c76c6f8a90
net: pcs: xpcs: fix incorrect steps on disable EEE

When Energy-Efficient Ethernet(EEE) is disable from the MAC side,
we need to clear the DW_VR_MII_EEE_TRN_LPI bit of DW_VR_MII_EEE_MCTRL1
register.

Fixes: f01a4bb840be ("net: pcs: Introducing support for DWC xpcs Energy Efficient Ethernet")
Cc: Michael Sit Wei Hong <michael.wei.hong.sit@intel.com>
Signed-off-by: Wong Vee Khee <vee.khee.wong@linux.intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/pcs/pcs-xpcs.c