summaryrefslogtreecommitdiffstats
path: root/drivers/dma/imx-sdma.c
diff options
context:
space:
mode:
authorNicolin Chen <nicoleotsuka@gmail.com>2014-10-24 21:37:41 +0200
committerVinod Koul <vinod.koul@intel.com>2014-11-17 09:20:43 +0100
commit29aebfde8802b64a5b505a1d8a6842c188abfdbc (patch)
tree93959604cba568d65efa8fc40be51f526c4fb9cb /drivers/dma/imx-sdma.c
parentdmaengine: shdma: fix a race condition in __ld_cleanup() (diff)
downloadlinux-29aebfde8802b64a5b505a1d8a6842c188abfdbc.tar.xz
linux-29aebfde8802b64a5b505a1d8a6842c188abfdbc.zip
dmaengine: imx-sdma: Add a new DMATYPE for SAI
This patch simply adds a new DMATYPE for SAI which's included in i.MX6 Solo X. Signed-off-by: Nicolin Chen <nicoleotsuka@gmail.com> Acked-by: Shawn Guo <shawn.guo@linaro.org> Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/imx-sdma.c')
-rw-r--r--drivers/dma/imx-sdma.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/imx-sdma.c b/drivers/dma/imx-sdma.c
index 99d8833edbd6..5b38f2bbd42a 100644
--- a/drivers/dma/imx-sdma.c
+++ b/drivers/dma/imx-sdma.c
@@ -729,6 +729,7 @@ static void sdma_get_pc(struct sdma_channel *sdmac,
case IMX_DMATYPE_CSPI:
case IMX_DMATYPE_EXT:
case IMX_DMATYPE_SSI:
+ case IMX_DMATYPE_SAI:
per_2_emi = sdma->script_addrs->app_2_mcu_addr;
emi_2_per = sdma->script_addrs->mcu_2_app_addr;
break;