spi: Provide per-message prepare and unprepare operations
authorMark Brown <broonie@linaro.org>
Fri, 4 Oct 2013 23:23:12 +0000 (00:23 +0100)
committerMark Brown <broonie@linaro.org>
Fri, 11 Oct 2013 19:09:13 +0000 (20:09 +0100)
commit2841a5fc375e9c573d10b82db30fa8a4cc25301c
tree07f5051d922f46a8640e6b2221390bd7be48b309
parent31a2c46cd94c6463b2b57b476e5a0fd154fee439
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>
drivers/spi/spi.c
include/linux/spi/spi.h
This page took 0.025893 seconds and 5 git commands to generate.