mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 02:50:49 +09: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:
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user