mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 02:50:49 +09:00
ASoC: rockchip: pdm: Explicit info for Multi-DAI
It's helpful for user to observe the DAI path by kmsg. Signed-off-by: Sugar Zhang <sugar.zhang@rock-chips.com> Change-Id: I4e4e0c784a70d19b2b3c05d7fa424022e79a94ba
This commit is contained in:
@@ -969,8 +969,10 @@ static int rockchip_pdm_probe(struct platform_device *pdev)
|
||||
if (ret != 0 && ret != -ENOENT)
|
||||
goto err_suspend;
|
||||
|
||||
if (of_property_read_bool(node, "rockchip,no-dmaengine"))
|
||||
if (of_property_read_bool(node, "rockchip,no-dmaengine")) {
|
||||
dev_info(&pdev->dev, "Used for Multi-DAI\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
ret = devm_snd_dmaengine_pcm_register(&pdev->dev, NULL, 0);
|
||||
if (ret) {
|
||||
|
||||
Reference in New Issue
Block a user