spi/rockchip: fix bug that cause spi transfer timed out in DMA duplex mode
authorAddy Ke <addy.ke@rock-chips.com>
Wed, 15 Oct 2014 11:26:18 +0000 (19:26 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 15 Oct 2014 13:05:38 +0000 (15:05 +0200)
In rx mode, dma must be prepared before spi is enabled.
But in tx and tr mode, spi must be enabled first.

Signed-off-by: Addy Ke <addy.ke@rock-chips.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-rockchip.c

Simple merge