commit | 13a4279880229240af38486611c94587492b24d3 | [log] [tgz] |
---|---|---|
author | Axel Lin <axel.lin@ingics.com> | Sat Jan 18 22:05:22 2014 +0800 |
committer | Mark Brown <broonie@linaro.org> | Tue Jan 21 18:45:34 2014 +0000 |
tree | 5f314e84b0e364d24edc616cbd4031a305269ead | |
parent | bd6857a0c630207484a03ddc470fab34b23f80bb [diff] |
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>