diff options
author | Vinod Koul <vinod.koul@linux.intel.com> | 2011-10-14 10:49:30 +0530 |
---|---|---|
committer | Vinod Koul <vinod.koul@linux.intel.com> | 2011-10-31 09:40:27 +0530 |
commit | 35e16581ed6bff55009a0bac34c755140407b03f (patch) | |
tree | a3d8e027d102e618c9602a0bbf8e693640c8a3d5 /sound/atmel/abdac.c | |
parent | a485df4b4404379786c4bdd258bc528b2617449d (diff) | |
download | linux-35e16581ed6bff55009a0bac34c755140407b03f.tar.gz linux-35e16581ed6bff55009a0bac34c755140407b03f.tar.bz2 linux-35e16581ed6bff55009a0bac34c755140407b03f.zip |
sound-soc: move to dma_transfer_direction
fixup usage of dma direction by introducing dma_transfer_direction,
this patch moves asoc drivers to use new enum
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
Cc: Liam Girdwood <lrg@ti.com>
Cc: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/atmel/abdac.c')
-rw-r--r-- | sound/atmel/abdac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/atmel/abdac.c b/sound/atmel/abdac.c index 6fd9391b3a6c..4fa1dbd8ee83 100644 --- a/sound/atmel/abdac.c +++ b/sound/atmel/abdac.c @@ -133,7 +133,7 @@ static int atmel_abdac_prepare_dma(struct atmel_abdac *dac, period_len = frames_to_bytes(runtime, runtime->period_size); cdesc = dw_dma_cyclic_prep(chan, runtime->dma_addr, buffer_len, - period_len, DMA_TO_DEVICE); + period_len, DMA_MEM_TO_DEV); if (IS_ERR(cdesc)) { dev_dbg(&dac->pdev->dev, "could not prepare cyclic DMA\n"); return PTR_ERR(cdesc); |