commit | 3700c6eb1e41a898c35c8dd4d5b10dc65fdaf486 | [log] [tgz] |
---|---|---|
author | Mark Brown <broonie@linaro.org> | Fri Jan 24 20:05:43 2014 +0000 |
committer | Mark Brown <broonie@linaro.org> | Tue Feb 04 12:49:10 2014 +0000 |
tree | 6b325d7849d3041ea6a5328ba2536d92ad173e5b | |
parent | 4ddc86005b1266b81c7b1b574a2402d3d8deda44 [diff] |
spi/s3c64xx: Split wait_for_xfer() into PIO and DMA versions There is no meaningful code sharing between the PIO and DMA variants (just the timeout calculation) so in order to make the code easier to work with split the two cases. Looking at the code it is not clear how the PIO version works for large transmits, greater than FIFO size is only handled for RX. Signed-off-by: Mark Brown <broonie@linaro.org>