ASoC: rockchip: i2s: 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: Iebf69a9ecbca5fe6a98ca1512ea549c67f18cdff
This commit is contained in:
Sugar Zhang 2023-02-15 17:55:22 +08:00 committed by Tao Huang
parent 9a673d9b48
commit 0648aa45ac
1 changed files with 3 additions and 1 deletions

View File

@ -785,8 +785,10 @@ static int rockchip_i2s_probe(struct platform_device *pdev)
goto err_suspend; 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; return 0;
}
ret = devm_snd_dmaengine_pcm_register(&pdev->dev, NULL, 0); ret = devm_snd_dmaengine_pcm_register(&pdev->dev, NULL, 0);
if (ret) { if (ret) {