Re: (subset) [PATCH 0/2] fix the issue when xfer by spi-altera

2020-12-29 Thread Mark Brown
On Tue, 29 Dec 2020 13:27:40 +0800, Xu Yilun wrote: > When doing spi xfer by spi-altera, divide by 0 exception happens in > spi_transfer_wait(), This is because the xfer->speed_hz is always > clamped to 0 by spi->controller->max_speed_hz, the feature is > introduced in: > > commit 9326e4f1e5dd ("s

[PATCH 0/2] fix the issue when xfer by spi-altera

2020-12-28 Thread Xu Yilun
When doing spi xfer by spi-altera, divide by 0 exception happens in spi_transfer_wait(), This is because the xfer->speed_hz is always clamped to 0 by spi->controller->max_speed_hz, the feature is introduced in: commit 9326e4f1e5dd ("spi: Limit the spi device max speed to controller's max speed")