From 2e13245b99b2e77560c2ab40b3c260004b84b3f0 Mon Sep 17 00:00:00 2001 From: Xuewen Liu Date: Tue, 16 Aug 2022 17:57:26 +0800 Subject: [PATCH] asoc: remove error from function msm_pinctrl_mclk_enable change pr_err to pr_debug. Can't find device node mclk_gpio_phandle[i](it equals "qcom,internal-mclk1-gpios") in gpio device_tree dts file, so it needs to change this log to pr_debug, it's not an error. Change-Id: I82e58222e27b3a97209c52e8e569a0257744cf22 Signed-off-by: Xuewen Liu --- asoc/sa8155.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asoc/sa8155.c b/asoc/sa8155.c index 78254f73a0fa..c90ab061bc06 100644 --- a/asoc/sa8155.c +++ b/asoc/sa8155.c @@ -5503,7 +5503,7 @@ static int msm_pinctrl_mclk_enable(struct platform_device *pdev) np = of_parse_phandle(pdev->dev.of_node, mclk_gpio_phandle[i], 0); if (!np) { - pr_err("%s: device node %s is null\n", __func__, mclk_gpio_phandle[i]); + pr_debug("%s: device node %s is null\n", __func__, mclk_gpio_phandle[i]); continue; } pdev_np = of_find_device_by_node(np);