Messages in this thread | | | Date | Mon, 3 Jul 2017 16:12:34 +0100 | From | Mark Brown <> | Subject | Re: Applied "spi: imx: dynamic burst length adjust for PIO mode" to the spi tree |
| |
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. [unhandled content-type:application/pgp-signature] | |