[PATCH] spi: Increase imx51 ecspi burst length based on transfer length

Mark Brown broonie at kernel.org
Wed Jun 28 04:54:43 PDT 2023


On Wed, Jun 28, 2023 at 10:41:27AM +0200, Stefan Moring wrote:

>   ctrl |= (spi_imx->slave_burst * 8 - 1)
>   << MX51_ECSPI_CTRL_BL_OFFSET;
> - else
> - ctrl |= (spi_imx->bits_per_word - 1)
> - << MX51_ECSPI_CTRL_BL_OFFSET;
> + else {
> + if (spi_imx->count >= 512)
> + ctrl |= 0xFFF << MX51_ECSPI_CTRL_BL_OFFSET;

Your patch is completely mangled and so can't be applied - please check
your setup for sending things.
-------------- 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/20230628/66554192/attachment.sig>


More information about the linux-arm-kernel mailing list