projects
/
linux
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a03b5d
)
ASoC: codecs: wcd9335: Drop unneeded error message
author
Krzysztof Kozlowski
<krzysztof.kozlowski@linaro.org>
Wed, 12 Jun 2024 16:15:18 +0000
(18:15 +0200)
committer
Mark Brown
<broonie@kernel.org>
Tue, 18 Jun 2024 15:47:18 +0000
(16:47 +0100)
Error-level should not be used as debugging. The code (function
wcd9335_get_dmic_clk_val()) will always be called with same parameters,
so this is not really useful debug anyway, so drop it.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link:
https://msgid.link/r/20240612-asoc-wcd9xxx-wide-cleanups-v1-5-0d15885b2a06@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/wcd9335.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/wcd9335.c
b/sound/soc/codecs/wcd9335.c
index 334c5241617f52dcb9f824a8355506f44b11c260..6a1376b3b98c6efd4d186d4935ee53fe9642a419 100644
(file)
--- a/
sound/soc/codecs/wcd9335.c
+++ b/
sound/soc/codecs/wcd9335.c
@@
-2849,10
+2849,6
@@
static u8 wcd9335_get_dmic_clk_val(struct snd_soc_component *component,
u32 div_factor;
u8 dmic_ctl_val;
- dev_err(component->dev,
- "%s: mclk_rate = %d, dmic_sample_rate = %d\n",
- __func__, mclk_rate, dmic_clk_rate);
-
/* Default value to return in case of error */
if (mclk_rate == WCD9335_MCLK_CLK_9P6MHZ)
dmic_ctl_val = WCD9335_DMIC_CLK_DIV_2;