commit | c28be31b11f56b3bb62490dfe5304eaa2724afc2 | [log] [tgz] |
---|---|---|
author | Addy Ke <addy.ke@rock-chips.com> | Wed Oct 15 19:26:18 2014 +0800 |
committer | Mark Brown <broonie@kernel.org> | Wed Oct 15 15:05:38 2014 +0200 |
tree | a6d6abddeb38faee5fcebe670e949b2220264e51 | |
parent | f9cfd52262d36a55b39d41e2b0faae632ad57e4c [diff] |
spi/rockchip: fix bug that cause spi transfer timed out in DMA duplex mode 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>