aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/microchip/lan937x_main.c
diff options
context:
space:
mode:
authorTristram Ha <[email protected]>2024-12-18 02:02:23 +0000
committerJakub Kicinski <[email protected]>2024-12-20 02:04:04 +0000
commit262bfba8ab820641c8cfbbf03b86d6c00242c078 (patch)
tree81dd32e074272a9880755d01ff370e8c420f1d53 /drivers/net/dsa/microchip/lan937x_main.c
parentnet: phy: micrel: Dynamically control external clock of KSZ PHY (diff)
downloadkernel-262bfba8ab820641c8cfbbf03b86d6c00242c078.tar.gz
kernel-262bfba8ab820641c8cfbbf03b86d6c00242c078.zip
net: dsa: microchip: Fix KSZ9477 set_ageing_time function
The aging count is not a simple 11-bit value but comprises a 3-bit multiplier and an 8-bit second count. The code tries to use the original multiplier which is 4 as the second count is still 300 seconds by default. Fixes: 2c119d9982b1 ("net: dsa: microchip: add the support for set_ageing_time") Signed-off-by: Tristram Ha <[email protected]> Reviewed-by: Andrew Lunn <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/net/dsa/microchip/lan937x_main.c')
0 files changed, 0 insertions, 0 deletions