diff options
| author | Tristram Ha <[email protected]> | 2024-12-18 02:02:23 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2024-12-20 02:04:04 +0000 |
| commit | 262bfba8ab820641c8cfbbf03b86d6c00242c078 (patch) | |
| tree | 81dd32e074272a9880755d01ff370e8c420f1d53 /drivers/net/dsa/microchip/lan937x_main.c | |
| parent | net: phy: micrel: Dynamically control external clock of KSZ PHY (diff) | |
| download | kernel-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
