spi: imx: fix loopback mode setup after controller reset
authorAnton Bondarenko <anton.bondarenko.sama@gmail.com>
Tue, 8 Dec 2015 06:43:43 +0000 (07:43 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 15 Dec 2015 22:40:35 +0000 (22:40 +0000)
commitf677f17cced0ca72a4331b64de119b35b19facb0
treeac0e01ce3f039692e8bf9c8ff4a1e9ff104eb2d2
parentf8a876176f38e00aab200d308506ca4a4ba57b39
spi: imx: fix loopback mode setup after controller reset

If controller hold in reset it's not possible to write any
register except CTRL. So all other registers must be updated
only after controller bring out from reset.

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