From: Judy Hsiao Date: Wed, 29 Jun 2022 08:03:45 +0000 (+0000) Subject: ASoC: rockchip: i2s: Fix the debug level on missing pinctrl X-Git-Tag: v6.1~812^2~8^2~37^2~60 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=48620f17e071060092197a09663a1c1fe6207829;p=mirror_ubuntu-kernels.git ASoC: rockchip: i2s: Fix the debug level on missing pinctrl 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 Link: https://lore.kernel.org/r/20220629080345.2427872-1-judyhsiao@chromium.org Signed-off-by: Mark Brown --- diff --git a/sound/soc/rockchip/rockchip_i2s.c b/sound/soc/rockchip/rockchip_i2s.c index 0ed01624a2db..ebd829ac09fe 100644 --- a/sound/soc/rockchip/rockchip_i2s.c +++ b/sound/soc/rockchip/rockchip_i2s.c @@ -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);