]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit - drivers/dma/sprd-dma.c
dmaengine: sprd: Add Spreadtrum DMA configuration
authorEric Long <eric.long@spreadtrum.com>
Wed, 23 May 2018 09:31:11 +0000 (17:31 +0800)
committerVinod Koul <vkoul@kernel.org>
Tue, 29 May 2018 04:45:33 +0000 (10:15 +0530)
commitca1b7d3daff43a269fb7a0479055ac5b741638d8
tree48bf81c31fea321429c692e321d26e41449e978c
parent32fa20139ebc1521954b9ccb411e5772411efc87
dmaengine: sprd: Add Spreadtrum DMA configuration

This patch adds the 'device_config' and 'device_prep_slave_sg' interfaces
for users to configure DMA, as well as adding one 'struct sprd_dma_config'
structure to save Spreadtrum DMA configuration for each DMA channel.

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
include/linux/dma/sprd-dma.h