diff options
| -rw-r--r-- | sound/soc/adi/axi-i2s.c | 3 | ||||
| -rw-r--r-- | sound/soc/adi/axi-spdif.c | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/sound/soc/adi/axi-i2s.c b/sound/soc/adi/axi-i2s.c index 7f91a86dd734..6058c1fd5070 100644 --- a/sound/soc/adi/axi-i2s.c +++ b/sound/soc/adi/axi-i2s.c | |||
| @@ -236,8 +236,7 @@ static int axi_i2s_probe(struct platform_device *pdev) | |||
| 236 | if (ret) | 236 | if (ret) |
| 237 | goto err_clk_disable; | 237 | goto err_clk_disable; |
| 238 | 238 | ||
| 239 | ret = devm_snd_dmaengine_pcm_register(&pdev->dev, NULL, | 239 | ret = devm_snd_dmaengine_pcm_register(&pdev->dev, NULL, 0); |
| 240 | SND_DMAENGINE_PCM_FLAG_NO_RESIDUE); | ||
| 241 | if (ret) | 240 | if (ret) |
| 242 | goto err_clk_disable; | 241 | goto err_clk_disable; |
| 243 | 242 | ||
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) | |||
| 229 | if (ret) | 229 | if (ret) |
| 230 | goto err_clk_disable; | 230 | goto err_clk_disable; |
| 231 | 231 | ||
| 232 | ret = devm_snd_dmaengine_pcm_register(&pdev->dev, NULL, | 232 | ret = devm_snd_dmaengine_pcm_register(&pdev->dev, NULL, 0); |
| 233 | SND_DMAENGINE_PCM_FLAG_NO_RESIDUE); | ||
| 234 | if (ret) | 233 | if (ret) |
| 235 | goto err_clk_disable; | 234 | goto err_clk_disable; |
| 236 | 235 | ||
