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: 44f362c2cc6d ("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 0ed0162..ebd829a 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);