Re: [PATCH] spi: spi-cadence-quadspi: Fix mapping of buffers for DMA reads

2020-08-31 Thread Vignesh Raghavendra
On 8/28/20 1:56 PM, Jan Kiszka wrote: > On 28.08.20 09:47, Vignesh Raghavendra wrote: >> 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

Re: [PATCH] spi: spi-cadence-quadspi: Fix mapping of buffers for DMA reads

2020-08-28 Thread Jan Kiszka
On 28.08.20 09:47, Vignesh Raghavendra wrote: > 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. > >

[PATCH] spi: spi-cadence-quadspi: Fix mapping of buffers for DMA reads

2020-08-28 Thread Vignesh Raghavendra
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: 31fb632b5d43c ("spi: Move cadence-quadspi driver to