diff options
author | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | 2023-02-09 13:28:06 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-02-09 15:03:33 +0100 |
commit | 777af241a7ce6ed95f8d3fcb028c08f9b40addb6 (patch) | |
tree | 6acbe077f578d44445b3b7696a9a76ad9f7a5398 /sound/soc/codecs/lpass-rx-macro.c | |
parent | ASoC: codecs: lpass: do not reset soundwire block on clk enable (diff) | |
download | linux-777af241a7ce6ed95f8d3fcb028c08f9b40addb6.tar.xz linux-777af241a7ce6ed95f8d3fcb028c08f9b40addb6.zip |
ASoC: codecs: lpass: remove not so useful verbose log
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Link: https://lore.kernel.org/r/20230209122806.18923-9-srinivas.kandagatla@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/lpass-rx-macro.c')
-rw-r--r-- | sound/soc/codecs/lpass-rx-macro.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/soc/codecs/lpass-rx-macro.c b/sound/soc/codecs/lpass-rx-macro.c index e0d891a67a12..a73a7d7a1c0a 100644 --- a/sound/soc/codecs/lpass-rx-macro.c +++ b/sound/soc/codecs/lpass-rx-macro.c @@ -2296,10 +2296,8 @@ static int rx_macro_mux_put(struct snd_kcontrol *kcontrol, aif_rst = rx->rx_port_value[widget->shift]; if (!rx_port_value) { - if (aif_rst == 0) { - dev_err(component->dev, "%s:AIF reset already\n", __func__); + if (aif_rst == 0) return 0; - } if (aif_rst > RX_MACRO_AIF4_PB) { dev_err(component->dev, "%s: Invalid AIF reset\n", __func__); return 0; |