OSDN Git Service

dmaengine: imx-sdma: Correct src_addr_widths and directions
authorNicolin Chen <nicoleotsuka@gmail.com>
Thu, 14 Sep 2017 18:46:43 +0000 (11:46 -0700)
committerVinod Koul <vinod.koul@intel.com>
Thu, 21 Sep 2017 17:15:42 +0000 (22:45 +0530)
commitf9d4a398f121b00f581da1428bff9b93d955452d
treefb4051862cc9cecf03804f78b0d9de4917371065
parent2bd6bf03f4c1c59381d62c61d03f6cc3fe71f66e
dmaengine: imx-sdma: Correct src_addr_widths and directions

The driver already supports DMA_DEV_TO_DEV in sdma_config(),
DMA_SLAVE_BUSWIDTH_2_BYTES and DMA_SLAVE_BUSWIDTH_1_BYTE in
sdma_prep_slave_sg(). So this patch adds them to the lists.

Signed-off-by: Nicolin Chen <nicoleotsuka@gmail.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/imx-sdma.c