commit | 988f259b46646934003ff8ae4966f7233691d1ad | [log] [tgz] |
---|---|---|
author | Boris Brezillon <boris.brezillon@bootlin.com> | Sun Apr 22 20:35:15 2018 +0200 |
committer | Mark Brown <broonie@kernel.org> | Mon Apr 23 15:48:18 2018 +0100 |
tree | 8065f35dce6e5c4fd910a03916625c8b74083ccd | |
parent | 46336966bf0852d76f76c1292c057635b05dbb1b [diff] |
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>