[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20241204184849.4fff5c89@kernel.org>
Date: Wed, 4 Dec 2024 18:48:49 -0800
From: Jakub Kicinski <kuba@...nel.org>
To: Stefan Wahren <wahrenst@....net>
Cc: Andrew Lunn <andrew+netdev@...n.ch>, "David S. Miller"
<davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>, Paolo Abeni
<pabeni@...hat.com>, netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH net] qca_spi: Fix clock speed for multiple QCA7000
On Mon, 2 Dec 2024 16:58:53 +0100 Stefan Wahren wrote:
> Storing the maximum clock speed in module parameter qcaspi_clkspeed
> has the unintended side effect that the first probed instance
> defines the value for all other instances. Fix this issue by storing
> it in max_speed_hz of the relevant SPI device.
>
> This fix keeps the priority of the speed parameter (module parameter,
> device tree property, driver default).
I think we should also delete the (seemingly unused?) qca->clkspeed
in this change. Otherwise it looks surprising that we still assign
the module param to it?
--
pw-bot: cr
Powered by blists - more mailing lists