summaryrefslogtreecommitdiffstats
path: root/sound/soc/atmel
diff options
context:
space:
mode:
authorLars-Peter Clausen2013-04-03 11:02:56 +0200
committerMark Brown2013-04-03 19:12:27 +0200
commit5fa70f71dbf33603b0d29b33d8da128b266eb733 (patch)
tree24eb98f534e02e6c3fe2e409d1e589c9ade962a9 /sound/soc/atmel
parentASoC: dmaengine-pcm: Remove snd_dmaengine_pcm_{set,get}_data (diff)
downloadkernel-qcow2-linux-5fa70f71dbf33603b0d29b33d8da128b266eb733.tar.gz
kernel-qcow2-linux-5fa70f71dbf33603b0d29b33d8da128b266eb733.tar.xz
kernel-qcow2-linux-5fa70f71dbf33603b0d29b33d8da128b266eb733.zip
ASoC: dmaengine_pcm: Setup device_fc in snd_hwparams_to_dma_slave_config
Usually device_fc should be set to false for audio DMAs. Initialize it in a common place so drivers don't have to do this manually. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Tested-by: Peter Ujfalusi <peter.ujfalusi@ti.com> Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/atmel')
-rw-r--r--sound/soc/atmel/atmel-pcm-dma.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/atmel/atmel-pcm-dma.c b/sound/soc/atmel/atmel-pcm-dma.c
index b8570e3e1b57..bb07989762d5 100644
--- a/sound/soc/atmel/atmel-pcm-dma.c
+++ b/sound/soc/atmel/atmel-pcm-dma.c
@@ -129,8 +129,6 @@ static int atmel_pcm_configure_dma(struct snd_pcm_substream *substream,
slave_config.src_maxburst = 1;
}
- slave_config.device_fc = false;
-
dma_chan = snd_dmaengine_pcm_get_chan(substream);
if (dmaengine_slave_config(dma_chan, &slave_config)) {
pr_err("atmel-pcm: failed to configure dma channel\n");