]> git.baikalelectronics.ru Git - kernel.git/commitdiff
ASoC: rockchip: i2s: Fix the debug level on missing pinctrl
authorJudy Hsiao <judyhsiao@chromium.org>
Wed, 29 Jun 2022 08:03:45 +0000 (08:03 +0000)
committerMark Brown <broonie@kernel.org>
Wed, 29 Jun 2022 10:58:43 +0000 (11:58 +0100)
Use dev_dbg on missing i2s->pinctrl as the pinctrl property is optional.

Fixes: c45e559c1fca ("ASoC: rockchip: i2s: switch BCLK to GPIO")
Signed-off-by: Judy Hsiao <judyhsiao@chromium.org>
Link: https://lore.kernel.org/r/20220629080345.2427872-1-judyhsiao@chromium.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/rockchip/rockchip_i2s.c

index 0ed01624a2dbde27e579a4f07143fc150b257c36..ebd829ac09fec0ef9997ad5bb9ec0791ace50f70 100644 (file)
@@ -812,7 +812,7 @@ static int rockchip_i2s_probe(struct platform_device *pdev)
                        }
                }
        } else {
-               dev_err(&pdev->dev, "failed to find i2s pinctrl\n");
+               dev_dbg(&pdev->dev, "failed to find i2s pinctrl\n");
        }
 
        i2s_pinctrl_select_bclk_off(i2s);