Re: [PATCH v2 0/5] spi: fix division by zero with a zero transfer speed
From: Mark Brown
Date: Fri Nov 13 2026 - 19:57:53 EST
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.
Attachment:
signature.asc
Description: PGP signature