net: dsa: mv88e6xxx: Save power by disabling SerDes trasmitter and receiver
authorMarek Behún <kabel@kernel.org>
Tue, 30 Nov 2021 17:01:48 +0000 (18:01 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 8 Dec 2021 08:04:45 +0000 (09:04 +0100)
commitf2be2d4c8e8fd5ac703641f6bfc4cf016cd898fe
treedc6363ee28eed78c0454b0f95ca9dca77c427183
parent865185f745096e6d4e57e2e88b3c6e956b475ccf
net: dsa: mv88e6xxx: Save power by disabling SerDes trasmitter and receiver

commit 7527d66260ac0c603c6baca5146748061fcddbd6 upstream.

Save power on 88E6393X by disabling SerDes receiver and transmitter
after SerDes is SerDes is disabled.

Signed-off-by: Marek Behún <kabel@kernel.org>
Cc: stable@vger.kernel.org # de776d0d316f ("net: dsa: mv88e6xxx: add support for mv88e6393x family")
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/dsa/mv88e6xxx/serdes.c
drivers/net/dsa/mv88e6xxx/serdes.h