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)
commit590df78bc7d1d0425196a8e11ce6676d7023fb26
tree7e8e925fc7eac723b17c19b8981f70b74b553efe
parent7707a4d01a648e4c655101a469c956cb11273655
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: 7617af3d1a5e ("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