diff options
author | Baruch Siach <[email protected]> | 2019-12-19 11:48:22 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2020-01-02 15:30:48 -0800 |
commit | f7a48b68abd9b20ce1ac6298aaaa3c4d158271dd (patch) | |
tree | 85496bbac95eab8e5da236a94c9be3df74ffd784 /lib/mpi/mpi-inline.h | |
parent | 738d2902773e30939a982c8df7a7f94293659810 (diff) |
net: dsa: mv88e6xxx: force cmode write on 6141/6341
mv88e6xxx_port_set_cmode() relies on cmode stored in struct
mv88e6xxx_port to skip cmode update when the requested value matches the
cached value. It turns out that mv88e6xxx_port_hidden_write() might
change the port cmode setting as a side effect, so we can't rely on the
cached value to determine that cmode update in not necessary.
Force cmode update in mv88e6341_port_set_cmode(), to make
serdes configuration work again. Other mv88e6xxx_port_set_cmode()
callers keep the current behaviour.
This fixes serdes configuration of the 6141 switch on SolidRun Clearfog
GT-8K.
Fixes: 7a3007d22e8 ("net: dsa: mv88e6xxx: fully support SERDES on Topaz family")
Reported-by: Denis Odintsov <[email protected]>
Signed-off-by: Baruch Siach <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions