]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: b53: Don't assign autonegotiation enabled
authorFlorian Fainelli <f.fainelli@gmail.com>
Fri, 21 Sep 2018 22:30:05 +0000 (15:30 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sat, 22 Sep 2018 02:57:03 +0000 (19:57 -0700)
commitdecda454c2e9c33d3ae1e3803b8f75e085fd690b
treeadfd3bb0f9d3dac1a49fe14f90bf6048ed7f2adb
parente42b31b12480b8cf277f3c04a35d3ff7dc99317a
net: dsa: b53: Don't assign autonegotiation enabled

PHYLINK takes care of filing the right information into
state->an_enabled, get rid of the read from the SerDes's BMCR register.

Fixes: faa543b7c51d ("net: dsa: b53: Add SerDes support")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/b53/b53_serdes.c