ansfer of vmalloced buffer - net-next.git - net-next plumbings
summaryrefslogtreecommitdiff
path: root/Documentation/media
diff options
context:
space:
mode:
authorAkinobu Mita <akinobu.mita@gmail.com>2016-04-09 03:43:15 +0900
committerMark Brown <broonie@kernel.org>2016-04-12 02:21:14 +0100
commit8070954d7c9fffa527e785292e901867338f79a9 (patch)
tree05ea1d33cf4c129d3c7a1255b999cbcae1362d4c /Documentation/media
parentbf16200689118d19de1b8d2a3c314fc21f5dc7bb (diff)
spi: omap2-mcspi: Undo broken fix for dma transfer of vmalloced buffer
This reverts commit 3525e0aac91c4de5d20b1f22a6c6e2b39db3cc96. The DMA transfer for RX buffer was not handled correctly in this change. The actual transfer length for DMA RX can be less than xfer->len in the specific condition and the last words will be filled after the DMA completion, but the commit doesn't consider it and the dmaengine is started with rx_sg mapped by spi core. The solution for this at least requires more lines than this commit has inserted. So revert it for now. Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/media')