[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20240307202410.65595460@kernel.org>
Date: Thu, 7 Mar 2024 20:24:10 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Oleksij Rempel <o.rempel@...gutronix.de>
Cc: "David S. Miller" <davem@...emloft.net>, Andrew Lunn <andrew@...n.ch>,
Eric Dumazet <edumazet@...gle.com>, Florian Fainelli
<f.fainelli@...il.com>, Paolo Abeni <pabeni@...hat.com>, Vladimir Oltean
<olteanv@...il.com>, Woojung Huh <woojung.huh@...rochip.com>, Arun Ramadoss
<arun.ramadoss@...rochip.com>, kernel@...gutronix.de,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
UNGLinuxDriver@...rochip.com
Subject: Re: [PATCH net v1 1/1] net: dsa: microchip: make sure drive
strength configuration is not lost by soft reset
On Mon, 4 Mar 2024 14:56:12 +0100 Oleksij Rempel wrote:
> This driver has two separate reset sequence in different places:
> - gpio/HW reset on start of ksz_switch_register()
> - SW reset on start of ksz_setup()
>
> The second one will overwrite drive strength configuration made in the
> ksz_switch_register().
>
> To fix it, move ksz_parse_drive_strength() from ksz_switch_register() to
> ksz_setup().
>
> Fixes: d67d7247f641 ("net: dsa: microchip: Add drive strength configuration")
> Signed-off-by: Oleksij Rempel <o.rempel@...gutronix.de>
Applied, thanks!
Powered by blists - more mailing lists