summaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2022-04-07 15:52:20 +0100
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2022-05-23 15:55:57 +0100
commitd6d4721b159ddd7ce254f72023e37a8869d42745 (patch)
treef897a3cdde4753b5cf5e6c26cf20635e1d64e506 /.clang-format
parentd619f253bbbf43fceef141ee40d0b138d84a107e (diff)
net: mtk_eth_soc: correct 802.3z speed setting
Phylink does not guarantee that state->speed will be set correctly in the mac_config() call, so it's a bug that the driver makes use of it. Moreover, it is making use of it in a function that is only ever called for 1000BASE-X and 2500BASE-X which operate at a fixed speed which happens to be the same setting irrespective of the interface mode. We can simply remove the switch statement and just set the SGMII interface speed. Tested-by: Marek BehĂșn <kabel@kernel.org> Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions