summaryrefslogtreecommitdiff
path: root/sound/soc/adi/axi-spdif.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2014-01-11 14:02:20 +0100
committerMark Brown <broonie@linaro.org>2014-01-14 21:28:39 +0000
commit153e66f5136bc5b33db253ad2db011177196626e (patch)
tree7a8e2fffc671c704615f5971fdca469711d9fd65 /sound/soc/adi/axi-spdif.c
parent478028e088d6a94666d8a776be2cd2291faf3bbd (diff)
ASoC: axi-{spdif,i2s}: Remove SND_DMAENGINE_PCM_FLAG_NO_RESIDUE flag
The pl330 driver properly reports that it does not have residue reporting support, which means the PCM dmanegine driver is able to figure this out on its own. So there is no need to set the flag manually. Removing the flag has the advantage that once the pl330 driver gains support for residue reporting it will automatically be used by the generic dmaengine PCM driver. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/adi/axi-spdif.c')
-rw-r--r--sound/soc/adi/axi-spdif.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/adi/axi-spdif.c b/sound/soc/adi/axi-spdif.c
index 8db7a9920695..198e3a4640f6 100644
--- a/sound/soc/adi/axi-spdif.c
+++ b/sound/soc/adi/axi-spdif.c
@@ -229,8 +229,7 @@ static int axi_spdif_probe(struct platform_device *pdev)
if (ret)
goto err_clk_disable;
- ret = devm_snd_dmaengine_pcm_register(&pdev->dev, NULL,
- SND_DMAENGINE_PCM_FLAG_NO_RESIDUE);
+ ret = devm_snd_dmaengine_pcm_register(&pdev->dev, NULL, 0);
if (ret)
goto err_clk_disable;