]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
spi: imx: initialize usedma earlier
authorSascha Hauer <s.hauer@pengutronix.de>
Wed, 24 Feb 2016 08:20:26 +0000 (09:20 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 26 Feb 2016 02:04:14 +0000 (11:04 +0900)
commitc008a800716256300c8a62e781a8897a8d3bce1e
treecb360864e69107536266a325fa63f362d3f1d0ce
parent99f1cf1c0c2ccdfa251a55cd28e3004963bf6e1a
spi: imx: initialize usedma earlier

The SoC specific config function does not know if DMA will be used or
not. This information will be useful to configure the SPI controller
correctly for DMA in following patches, so initialize the usedma
variable before calling into the SoC specific config function.

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