diff mbox series

ASoC: atmel-i2s: do not warn if muxclk is missing

Message ID 20201103100554.1307190-1-codrin.ciubotariu@microchip.com (mailing list archive)
State Accepted
Commit f4bf1f4d1385b7cb61a3fc811bb4912d49aa394a
Headers show
Series ASoC: atmel-i2s: do not warn if muxclk is missing | expand

Commit Message

Codrin Ciubotariu Nov. 3, 2020, 10:05 a.m. UTC
Besides the fact that muxclk is optional, muxclk can be set using
assigned-clocks, removing the need to set it in driver. The warning is
thus unneeded, so we can transform it in a debug print, eventually to just
reflect that muxclk was not set by the driver.

Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
---
 sound/soc/atmel/atmel-i2s.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Mark Brown Nov. 3, 2020, 6:14 p.m. UTC | #1
On Tue, 3 Nov 2020 12:05:54 +0200, Codrin Ciubotariu wrote:
> Besides the fact that muxclk is optional, muxclk can be set using
> assigned-clocks, removing the need to set it in driver. The warning is
> thus unneeded, so we can transform it in a debug print, eventually to just
> reflect that muxclk was not set by the driver.

Applied to

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

Thanks!

[1/1] ASoC: atmel-i2s: do not warn if muxclk is missing
      commit: f4bf1f4d1385b7cb61a3fc811bb4912d49aa394a

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
diff mbox series

Patch

diff --git a/sound/soc/atmel/atmel-i2s.c b/sound/soc/atmel/atmel-i2s.c
index bbe2b638abb5..232300dda548 100644
--- a/sound/soc/atmel/atmel-i2s.c
+++ b/sound/soc/atmel/atmel-i2s.c
@@ -563,8 +563,8 @@  static int atmel_i2s_sama5d2_mck_init(struct atmel_i2s_dev *dev,
 		err = PTR_ERR(muxclk);
 		if (err == -EPROBE_DEFER)
 			return -EPROBE_DEFER;
-		dev_warn(dev->dev,
-			 "failed to get the I2S clock control: %d\n", err);
+		dev_dbg(dev->dev,
+			"failed to get the I2S clock control: %d\n", err);
 		return 0;
 	}