]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mv88e6xxx: Fix application of erratum 4.8 for 88E6393X
authorMarek Behún <kabel@kernel.org>
Tue, 30 Nov 2021 17:01:46 +0000 (18:01 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Dec 2021 14:39:09 +0000 (14:39 +0000)
commitd1cbd7daa94d21703f285f2005aed31cdb5c15a8
tree5da9eee8df25b9a54de918a50b4482d80a2e40ef
parenta2bad4523091e76870430e456902f6737c886001
net: dsa: mv88e6xxx: Fix application of erratum 4.8 for 88E6393X

According to SERDES scripts for 88E6393X, erratum 4.8 has to be applied
every time before SerDes is powered on.

Split the code for erratum 4.8 into separate function and call it in
mv88e6393x_serdes_power().

Fixes: 5fe9fbda56e8 ("net: dsa: mv88e6xxx: add support for mv88e6393x family")
Signed-off-by: Marek Behún <kabel@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/mv88e6xxx/serdes.c