Skip to content

Commit e5ce198

Browse files
jhovoldbroonie
authored andcommitted
ASoC: codecs: wcd938x: fix mbhc impedance loglevel
Demote the MBHC impedance measurement printk, which is not an error message, from error to debug level. While at it, fix the capitalisation of "ohm" and add the missing space before the opening parenthesis. Fixes: bcee7ed ("ASoC: codecs: wcd938x: add Multi Button Headset Control support") Signed-off-by: Johan Hovold <johan+linaro@kernel.org> Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org> Link: https://lore.kernel.org/r/20230630142717.5314-2-johan+linaro@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 70a6404 commit e5ce198

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sound/soc/codecs/wcd938x.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2165,8 +2165,8 @@ static inline void wcd938x_mbhc_get_result_params(struct wcd938x_priv *wcd938x,
21652165
else if (x1 < minCode_param[noff])
21662166
*zdet = WCD938X_ZDET_FLOATING_IMPEDANCE;
21672167

2168-
pr_err("%s: d1=%d, c1=%d, x1=0x%x, z_val=%d(milliOhm)\n",
2169-
__func__, d1, c1, x1, *zdet);
2168+
pr_debug("%s: d1=%d, c1=%d, x1=0x%x, z_val=%d (milliohm)\n",
2169+
__func__, d1, c1, x1, *zdet);
21702170
ramp_down:
21712171
i = 0;
21722172
while (x1) {

0 commit comments

Comments
 (0)