ASoC: dmaengine_pcm: Setup device_fc in snd_hwparams_to_dma_slave_config
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 3 Apr 2013 09:02:56 +0000 (11:02 +0200)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Wed, 3 Apr 2013 17:12:27 +0000 (18:12 +0100)
commit5fa70f71dbf33603b0d29b33d8da128b266eb733
tree24eb98f534e02e6c3fe2e409d1e589c9ade962a9
parentb1bd7f62cf2b854316a9a8b2442a8014dbe29a47
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>
sound/soc/atmel/atmel-pcm-dma.c
sound/soc/fsl/imx-pcm-dma.c
sound/soc/soc-dmaengine-pcm.c