]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - drivers/dma/sprd-dma.c
dmaengine: sprd: Optimize the sprd_dma_prep_dma_memcpy()
authorEric Long <eric.long@spreadtrum.com>
Wed, 23 May 2018 09:31:10 +0000 (17:31 +0800)
committerVinod Koul <vkoul@kernel.org>
Tue, 29 May 2018 04:45:33 +0000 (10:15 +0530)
commit32fa20139ebc1521954b9ccb411e5772411efc87
treebcf645edf501ac667e377bef5ea71b4f96757002
parentfd8d26adc9a909c0c099265cb62d5e5ec2a87e7e
dmaengine: sprd: Optimize the sprd_dma_prep_dma_memcpy()

This is one preparation patch, we can use default DMA configuration to
implement the device_prep_dma_memcpy() interface instead of issuing
sprd_dma_config().

We will implement one new sprd_dma_config() function with introducing
device_prep_slave_sg() interface in following patch. So we can remove
the obsolete sprd_dma_config() firstly.

Signed-off-by: Eric Long <eric.long@spreadtrum.com>
Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/sprd-dma.c