spi: imx: Revert "spi: imx: dynamic burst length adjust for PIO mode"
authorSascha Hauer <s.hauer@pengutronix.de>
Tue, 23 May 2017 12:38:27 +0000 (14:38 +0200)
committerMark Brown <broonie@kernel.org>
Tue, 23 May 2017 18:22:08 +0000 (19:22 +0100)
commit09b3ed2d5916f270ffbc5d002a2196ededf5ec7e
tree05bd08bb1987aa92b84b49b9ee4eee0ba3b2917f
parent179547e143e773f9f866ad3536275ab627711f3a
spi: imx: Revert "spi: imx: dynamic burst length adjust for PIO mode"

This reverts commits 8d4a6cad7adb3ddac32cd52635f20e11de11a658 and
179547e143e773f9f866ad3536275ab627711f3a.

Besides the problems already found with this patch it also modifies
the spi transfer tx_buf in spi_imx_u32_swap_u8() and spi_imx_u32_swap_u16().
This is hidden from the compiler with an explicit cast from const void*
to u32*, so no warning is issued.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-imx.c