mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 06:25:52 +02:00
ASoC: rockchip: pdm: Fix ret value
Fixes: 93773ea1ee ("ASoC: rockchip: pdm: Add support for path map")
Change-Id: If7bb2c7e08f0e65a010866b2594e360fd4be482a
Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com>
This commit is contained in:
parent
7e2b98f59d
commit
e603d7d441
|
|
@ -796,7 +796,8 @@ static int rockchip_pdm_probe(struct platform_device *pdev)
|
|||
goto err_suspend;
|
||||
|
||||
if (of_property_read_bool(node, "rockchip,no-dmaengine"))
|
||||
return ret;
|
||||
return 0;
|
||||
|
||||
ret = devm_snd_dmaengine_pcm_register(&pdev->dev, NULL, 0);
|
||||
if (ret) {
|
||||
dev_err(&pdev->dev, "could not register pcm: %d\n", ret);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user