2022-02-04 13:57:50 +00:00
|
|
|
From f4389949bf422fe04775c17b833100fa0e95ea68 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
|
|
|
|
Date: Tue, 3 Nov 2020 12:05:54 +0200
|
|
|
|
Subject: [PATCH 122/247] ASoC: atmel-i2s: do not warn if muxclk is missing
|
|
|
|
|
|
|
|
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>
|
|
|
|
Link: https://lore.kernel.org/r/20201103100554.1307190-1-codrin.ciubotariu@microchip.com
|
|
|
|
Signed-off-by: Mark Brown <broonie@kernel.org>
|
|
|
|
---
|
|
|
|
sound/soc/atmel/atmel-i2s.c | 4 ++--
|
|
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
|
|
|
|
--- a/sound/soc/atmel/atmel-i2s.c
|
|
|
|
+++ b/sound/soc/atmel/atmel-i2s.c
|
2022-03-02 13:11:44 +00:00
|
|
|
@@ -581,8 +581,8 @@ static int atmel_i2s_sama5d2_mck_init(st
|
2022-02-04 13:57:50 +00:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
|