]> git.baikalelectronics.ru Git - kernel.git/commit
nds32: implement the unmap_sg DMA operation
authorChristoph Hellwig <hch@lst.de>
Sat, 19 May 2018 07:22:05 +0000 (09:22 +0200)
committerChristoph Hellwig <hch@lst.de>
Tue, 29 May 2018 14:10:27 +0000 (16:10 +0200)
commit3c06c4214ee4ee75913609fe3b738119eda2a592
treed63071802f68759339eb2afb3d03da8089945e17
parent1168a18432c8d91a0a1ea38e053fa3efa8262aa8
nds32: implement the unmap_sg DMA operation

This matches the implementation of the more commonly used unmap_single
routines and the sync_sg_for_cpu method which should provide equivalent
cache maintainance.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Greentime Hu <greentime@andestech.com>
Tested-by: Greentime Hu <greentime@andestech.com>
arch/nds32/kernel/dma.c