commit | b716c4ffc6a2b0bfbcf9619880f335be11b65708 | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | Fri Feb 27 17:34:15 2015 +0200 |
committer | Mark Brown <broonie@kernel.org> | Fri Mar 06 19:41:56 2015 +0000 |
tree | e9fce46a5b9a33fcfc9593763b78f6bc46c787ea | |
parent | c517d838eb7d07bbe9507871fab3931deccff539 [diff] |
spi: introduce master->handle_err() callback This callback would be useful to handle an error that occurs in the generic implementation of transfer_one_message(). The good candidate for this is to drain FIFO and / or to terminate DMA transfers when timeout happened. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>