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)
commit63fc184cde2d771affc2e7885c05a2792bae9f86
tree2876e182ab6c39159dff711d30ac551fac369527
parent3cb7b407ce84e5756076f64bf4341cc101955966
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