aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wwan/iosm/iosm_ipc_protocol_ops.c
diff options
context:
space:
mode:
authorRussell King (Oracle) <[email protected]>2022-05-18 14:54:47 +0000
committerJakub Kicinski <[email protected]>2022-05-20 01:14:29 +0000
commit7da3f901f8ecb425105fad39a0f5de73306abe52 (patch)
treef1aa8f9c5f2a3913952bfd72ee36f1f6b9f0e99c /drivers/net/wwan/iosm/iosm_ipc_protocol_ops.c
parentnet: mtk_eth_soc: add mask and update PCS speed definitions (diff)
downloadkernel-7da3f901f8ecb425105fad39a0f5de73306abe52.tar.gz
kernel-7da3f901f8ecb425105fad39a0f5de73306abe52.zip
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. Signed-off-by: Russell King (Oracle) <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/wwan/iosm/iosm_ipc_protocol_ops.c')
0 files changed, 0 insertions, 0 deletions