spi: imx: defer spi initialization, if DMA engine is
authorAnton Bondarenko <anton.bondarenko.sama@gmail.com>
Tue, 8 Dec 2015 06:43:46 +0000 (07:43 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 15 Dec 2015 22:40:35 +0000 (22:40 +0000)
commitbf9af08cd5151f1915119ea4c6a873d5a4880d74
treeb794addf759212df97d03f79ff47d96580e82a5c
parent3760047a7d83353163b69b96d216a13148a321d9
spi: imx: defer spi initialization, if DMA engine is

If SPI device supports DMA mode, but DMA controller is not yet
available due to e.g. a delay in the corresponding kernel module
initialization, retry to initialize SPI driver later on instead of
falling back into PIO only mode.

Signed-off-by: Anton Bondarenko <anton.bondarenko.sama@gmail.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-imx.c