diff options
author | Vijaya Krishna Nivarthi <[email protected]> | 2023-07-25 17:18:08 +0530 |
---|---|---|
committer | Mark Brown <[email protected]> | 2023-07-25 19:11:55 +0100 |
commit | cfb81f2243b25a0d79accc6510ad66c5c5ad99ba (patch) | |
tree | ad20de83f7843faf473444770f06bcf6d8110306 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | f7ba36d399c4558f36886adff9400be591b245f6 (diff) |
spi: spi-qcom-qspi: Call dma_wmb() after setting up descriptors
After setting up dma descriptors and before initiaiting dma transfer, call
dma_wmb() to ensure all writes go through.
This doesn't fix any reported problem but is added for safety.
Signed-off-by: Vijaya Krishna Nivarthi <[email protected]>
Fixes: b5762d95607e ("spi: spi-qcom-qspi: Add DMA mode support")
Reviewed-by: Douglas Anderson <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions