Re: [PATCH v2] spi: spi-imx: fix off-by-one in mx51 CPU mode burst length

From: Mark Brown
Date: Mon Mar 18 2024 - 11:55:14 EST


On Wed, Mar 13, 2024 at 08:58:19PM +0000, Adam Butcher wrote:
> From: Adam Butcher <adam@xxxxxxxxxxxxxxx>
>
> 992e1211dc91 ("spi: imx: fix the burst length at DMA mode and CPU mode")
> corrects three cases of setting the ECSPI burst length but erroneously
> leaves the in-range CPU case one bit to big (in that field a value of
> 0 means 1 bit). The effect was that transmissions that should have been
> 8-bit bytes appeared as 9-bit causing failed communication with SPI
> devices.

This doesn't apply against current code, please check and resend.

Attachment: signature.asc
Description: PGP signature