[PATCH] spi: imx: add a check for speed_hz before calculating the clock
Mark Brown
broonie at kernel.org
Thu Apr 8 15:05:23 BST 2021
On Thu, Apr 08, 2021 at 06:33:47PM +0800, Clark Wang wrote:
> When some drivers use spi to send data, spi_transfer->speed_hz is
> not assigned. If spidev->max_speed_hz is not assigned as well, it
> will cause an error in configuring the clock.
Please don't send new patches in reply to other threads, this makes it
harder to follow what current versions of things are and causes problems
for tools.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210408/5497f1f8/attachment.sig>
More information about the linux-arm-kernel
mailing list