commit | 2841a5fc375e9c573d10b82db30fa8a4cc25301c | [log] [tgz] |
---|---|---|
author | Mark Brown <broonie@linaro.org> | Sat Oct 05 00:23:12 2013 +0100 |
committer | Mark Brown <broonie@linaro.org> | Fri Oct 11 20:09:13 2013 +0100 |
tree | 07f5051d922f46a8640e6b2221390bd7be48b309 | |
parent | 31a2c46cd94c6463b2b57b476e5a0fd154fee439 [diff] |
spi: Provide per-message prepare and unprepare operations Many SPI drivers perform setup and tear down on every message, usually doing things like DMA mapping the message. Provide hooks for them to use to provide such operations. This is of limited value for drivers that implement transfer_one_message() but will be of much greater utility with future factoring out of standard implementations of that function. Signed-off-by: Mark Brown <broonie@linaro.org>