Re: Applied "spi: imx: dynamic burst length adjust for PIO mode" to the spi tree
From: Mark Brown
Date: Mon Jul 03 2017 - 11:12:52 EST
On Fri, Jun 30, 2017 at 02:14:33PM +0200, Sascha Hauer wrote:
> This is wrong. MX51_ECSPI_CTRL_MAX_BURST contains the burst length in
> bytes, but the register 'val' is written to takes the burst length in
> bits - 1, so this should be:
> val = MX51_ECSPI_CTRL_MAX_BURST * 8 - 1;
> instead.
Well, it breaks the build anyway so I'll revert.
Attachment:
signature.asc
Description: PGP signature