2022-06-29 08:55:16

by Judy Hsiao

[permalink] [raw]
Subject: [PATCH v1] 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 <[email protected]>
---
sound/soc/rockchip/rockchip_i2s.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/rockchip/rockchip_i2s.c b/sound/soc/rockchip/rockchip_i2s.c
index 285b6455be28..f783994cc16a 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);
--
2.37.0.rc0.161.g10f37bed90-goog


2022-06-29 14:08:29

by Mark Brown

[permalink] [raw]
Subject: Re: [PATCH v1] ASoC: rockchip: i2s: Fix the debug level on missing pinctrl

On Wed, 29 Jun 2022 08:03:45 +0000, Judy Hsiao wrote:
> Use dev_dbg on missing i2s->pinctrl as the pinctrl property is optional.
>
>

Applied to

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: rockchip: i2s: Fix the debug level on missing pinctrl
commit: 48620f17e071060092197a09663a1c1fe6207829

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark