• Mark Brown's avatar
    spi: Provide per-message prepare and unprepare operations · 2841a5fc
    Mark Brown authored
    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: default avatarMark Brown <broonie@linaro.org>
    2841a5fc
spi.c 51.8 KB