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

From: Mark Brown
Date: Wed Jun 28 2023 - 07:55:07 EST


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.

Attachment: signature.asc
Description: PGP signature