commit | 75b82e23a4ea20a9e1a48695ff5e01761889dbb3 | [log] [tgz] |
---|---|---|
author | Geert Uytterhoeven <geert+renesas@glider.be> | Fri Jun 20 12:16:18 2014 +0200 |
committer | Mark Brown <broonie@linaro.org> | Sat Jun 21 11:17:36 2014 +0100 |
tree | 0b9e314ebbb6aa46abd62e7cb5a81d278348a9ce | |
parent | 76c02e71612533206cb062b875c9609bce83d23a [diff] |
spi: sh-msiof: Improve transfer error handling - Add a timeout when waiting for the transfer complete interrupt, - If sh_msiof_spi_stop() fails, there's no need to clear IER, as the interrupt handler has already done that, - Propagate transfer failures in sh_msiof_transfer_one(). Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Mark Brown <broonie@linaro.org>