[PATCH v2 0/5] spi: fix division by zero with a zero transfer speed
William Zhang
william.zhang at broadcom.com
Fri Nov 13 17:11:07 PST 2026
On Fri, Nov 13, 2026 at 4:57 PM Mark Brown <broonie at kernel.org> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5473 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20261113/4f89dd86/attachment.p7s>
More information about the linux-riscv
mailing list