spi: More sanity checks for transfers
authorMark Brown <broonie@linaro.org>
Wed, 10 Jul 2013 14:05:40 +0000 (15:05 +0100)
committerMark Brown <broonie@linaro.org>
Mon, 15 Jul 2013 10:34:51 +0000 (11:34 +0100)
commit24a0013a04e81e95198daab98edf4df02e191568
tree29a38cf235195f69ef09453ec440c6045627f47a
parenta2fd4f9fa3b9f051550b36c4dfa74bc32bda24ee
spi: More sanity checks for transfers

Check that transfers are non-empty and that there is a completion for
them.

Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/spi/spi.c