]> git.baikalelectronics.ru Git - kernel.git/commit
spi/tegra20-slink: Crude refactoring to use core message parsing
authorMark Brown <broonie@linaro.org>
Sat, 5 Oct 2013 11:23:38 +0000 (12:23 +0100)
committerMark Brown <broonie@linaro.org>
Thu, 17 Oct 2013 09:57:47 +0000 (10:57 +0100)
commit36e692ec349fc568c246867dac27d37cd9376145
tree2876e182ab6c39159dff711d30ac551fac369527
parenta524297188f7d7b3634d9ebfe6273398490e8377
spi/tegra20-slink: Crude refactoring to use core message parsing

This is a half done conversion with minimal code reorganisation provided
for bisection purposes. A further patch will move the first transfer
preparation into tegra_slink_prepare_message().

The cs_change and udelay handling is removed, these should be
implemented by the framework and in any case are buggy - the two fields
should not be related and the cs_change handling appears to at best only
work the first time it's used in a message.

Signed-off-by: Mark Brown <broonie@linaro.org>
Tested-by: Stephen Warren <swarren@nvidia.com>
drivers/spi/spi-tegra20-slink.c