ath25: switch default kernel to 5.15
[openwrt/openwrt.git] / target / linux / at91 / patches-5.10 / 122-ASoC-atmel-i2s-do-not-warn-if-muxclk-is-missing.patch
1 From f4389949bf422fe04775c17b833100fa0e95ea68 Mon Sep 17 00:00:00 2001
2 From: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
3 Date: Tue, 3 Nov 2020 12:05:54 +0200
4 Subject: [PATCH 122/247] ASoC: atmel-i2s: do not warn if muxclk is missing
5
6 Besides the fact that muxclk is optional, muxclk can be set using
7 assigned-clocks, removing the need to set it in driver. The warning is
8 thus unneeded, so we can transform it in a debug print, eventually to just
9 reflect that muxclk was not set by the driver.
10
11 Signed-off-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
12 Link: https://lore.kernel.org/r/20201103100554.1307190-1-codrin.ciubotariu@microchip.com
13 Signed-off-by: Mark Brown <broonie@kernel.org>
14 ---
15 sound/soc/atmel/atmel-i2s.c | 4 ++--
16 1 file changed, 2 insertions(+), 2 deletions(-)
17
18 --- a/sound/soc/atmel/atmel-i2s.c
19 +++ b/sound/soc/atmel/atmel-i2s.c
20 @@ -581,8 +581,8 @@ static int atmel_i2s_sama5d2_mck_init(st
21 err = PTR_ERR(muxclk);
22 if (err == -EPROBE_DEFER)
23 return -EPROBE_DEFER;
24 - dev_warn(dev->dev,
25 - "failed to get the I2S clock control: %d\n", err);
26 + dev_dbg(dev->dev,
27 + "failed to get the I2S clock control: %d\n", err);
28 return 0;
29 }
30