diff options
| author | Vijaya Krishna Nivarthi <[email protected]> | 2023-07-25 11:48:08 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2023-07-25 18:11:55 +0000 |
| commit | cfb81f2243b25a0d79accc6510ad66c5c5ad99ba (patch) | |
| tree | ad20de83f7843faf473444770f06bcf6d8110306 /rust/helpers.c | |
| parent | spi: spi-qcom-qspi: Use GFP_ATOMIC flag while allocating for descriptor (diff) | |
| download | kernel-cfb81f2243b25a0d79accc6510ad66c5c5ad99ba.tar.gz kernel-cfb81f2243b25a0d79accc6510ad66c5c5ad99ba.zip | |
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 'rust/helpers.c')
0 files changed, 0 insertions, 0 deletions
