5.11.0-rc1+: "Division by zero in kernel." when writing to spidev

Fabio Estevam festevam at gmail.com
Thu Jan 7 20:53:05 EST 2021

Hi Vincent,

On Thu, Jan 7, 2021 at 10:16 PM Vincent Pelletier <plr.vincent at gmail.com> wrote:

> Thanks.
> I added Tudor Ambarus as well as my debugging points in the direction
> of:
> commit 9326e4f1e5dd1a4410c429638d3c412b6fc17040 (spi/for-5.10)
> Author: Tudor Ambarus <tudor.ambarus at microchip.com>
> Date:   Wed Dec 9 19:35:14 2020 +0200
>     spi: Limit the spi device max speed to controller's max speed
>     Make sure the max_speed_hz of spi_device does not override
>     the max_speed_hz of controller.

There is a fix for this:

More information about the linux-rpi-kernel mailing list