aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi.c
diff options
context:
space:
mode:
authorVignesh Raghavendra <[email protected]>2020-08-31 13:07:20 +0000
committerMark Brown <[email protected]>2020-09-08 14:20:10 +0000
commit83048015ff7710b46e7c489458a93c6fe348229d (patch)
tree56a3c619fca0fe1489c99ba60421697efb2d2f54 /drivers/spi/spi.c
parentspi: stm32: Rate-limit the 'Communication suspended' message (diff)
downloadkernel-83048015ff7710b46e7c489458a93c6fe348229d.tar.gz
kernel-83048015ff7710b46e7c489458a93c6fe348229d.zip
spi: spi-cadence-quadspi: Fix mapping of buffers for DMA reads
Buffers need to mapped to DMA channel's device pointer instead of SPI controller's device pointer as its system DMA that actually does data transfer. Data inconsistencies have been reported when reading from flash without this fix. Fixes: ffa639e069fb ("mtd: spi-nor: cadence-quadspi: Add DMA support for direct mode reads") Signed-off-by: Vignesh Raghavendra <[email protected]> Tested-by: Jan Kiszka <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/spi/spi.c')
0 files changed, 0 insertions, 0 deletions