Re: [PATCH net 1/2] net: dsa: microchip: Fix KSZ9477 set_ageing_time function
From: Andrew Lunn
Date: Thu Dec 19 2024 - 11:50:44 EST
On Tue, Dec 17, 2024 at 06:02:23PM -0800, Tristram.Ha@xxxxxxxxxxxxx wrote:
> From: Tristram Ha <tristram.ha@xxxxxxxxxxxxx>
>
> 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 <tristram.ha@xxxxxxxxxxxxx>
Reviewed-by: Andrew Lunn <andrew@xxxxxxx>
Andrew