Re: [PATCH v2 0/5] spi: fix division by zero with a zero transfer speed
From: William Zhang
Date: Fri Nov 13 2026 - 20:11:32 EST
On Fri, Nov 13, 2026 at 4:57 PM Mark Brown <broonie@xxxxxxxxxx> wrote:
>
> On Fri, Nov 13, 2026 at 04:39:38PM -0800, William Zhang wrote:
>
> > There are still open disucssion in [PATCH v2 3/5]. If we want to add
> > a clamp in the controller driver, patch 2 and 3 require extra fix as
> > discussed in that thread.
>
> Ah, I'd missed that subthread sorry. It does seem like something that
> can be dealt with incrementally, none of this should be triggering
> unless the system is already pretty confused. We could do something
> like have the driver round the rate up to whatever it's minimum is?
> We could also have a min_speed_hz in the core which would help, I
> could've sworn we had something already but I'm not immediately finding
> it.
No worry. Yeah we can set the minimum FCW to 1, it just can not be zero.
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature