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

From: Stefan Moring
Date: Wed Jun 28 2023 - 08:57:31 EST


My bad, I resend it using git send-email.

Op wo 28 jun 2023 om 13:54 schreef Mark Brown <broonie@xxxxxxxxxx>:
>
> 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.