Axel Lin 13a4279880 spi: core: Fix transfer failure when master->transfer_one returns positive value
master->transfer_one returns positive value is not a error.
So set ret to 0 when master->transfer_one returns positive value.
Otherwise, I hit "spi_master spi0: failed to transfer one message from queue"
error when my transfer_one callback returns 1.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
2014-01-21 18:45:34 +00:00
..
2011-06-06 01:16:30 -06:00
2013-11-14 11:04:38 -08:00
2011-09-21 09:41:48 -06:00
2013-08-29 13:56:23 +01:00
2011-06-06 01:16:30 -06:00
2011-06-06 01:16:30 -06:00
2013-05-23 09:09:55 -05:00
2013-08-29 13:56:23 +01:00
2013-10-15 13:15:52 +01:00