diff options
author | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-04-22 20:35:15 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-04-23 15:48:18 +0100 |
commit | 988f259b46646934003ff8ae4966f7233691d1ad (patch) | |
tree | 8065f35dce6e5c4fd910a03916625c8b74083ccd /drivers/spi/spi-bcm63xx-hsspi.c | |
parent | spi: Expose spi_{map,unmap}_buf() for internal use (diff) | |
download | linux-dev-988f259b46646934003ff8ae4966f7233691d1ad.tar.xz linux-dev-988f259b46646934003ff8ae4966f7233691d1ad.zip |
spi: Add an helper to flush the message queue
This is needed by the spi-mem logic to force all messages that have been
queued before a memory operation to be sent before we start the memory
operation. We do that in order to guarantee that spi-mem operations do
not preempt regular SPI transfers.
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-bcm63xx-hsspi.c')
0 files changed, 0 insertions, 0 deletions