mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 14:42:37 +02:00
ASoC: rockchip: pdm: fix the missing register sound with 'rockchip,path-map' property
The return value equal 0 should be correct. Signed-off-by: Xing Zheng <zhengxing@rock-chips.com> Change-Id: Id0ac8012f4e2eeb95a4dbf590f02843cbc3c863f
This commit is contained in:
parent
c84a4aa411
commit
81b3c14f77
|
|
@ -792,7 +792,7 @@ static int rockchip_pdm_probe(struct platform_device *pdev)
|
|||
rockchip_pdm_rxctrl(pdm, 0);
|
||||
|
||||
ret = rockchip_pdm_path_parse(pdm, node);
|
||||
if (ret != -ENOENT)
|
||||
if (ret != 0 && ret != -ENOENT)
|
||||
goto err_suspend;
|
||||
|
||||
if (of_property_read_bool(node, "rockchip,no-dmaengine"))
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user