]> Pileus Git - ~andy/linux/blobdiff - sound/soc/adi/axi-spdif.c
ASoC: axi-{spdif,i2s}: Remove SND_DMAENGINE_PCM_FLAG_NO_RESIDUE flag
[~andy/linux] / sound / soc / adi / axi-spdif.c
index 8db7a9920695d108396692ffe6afd9138e98dc27..198e3a4640f6e6f8a0806c6db8cc3746cb2d5bef 100644 (file)
@@ -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;