Skip to content

Commit 8042e73

Browse files
marc-hbcarlescufi
authored andcommitted
dai: intel: dmic: demote spurious LOG_ERR in dai_nhlt_get_clock_div()
Fix the log level of two LOG_ERR() statements which should have always been LOG_INF(). As confirmed by the author Adrian in #60172 Fixes commit 3fbaed4 ("dai: intel: ace: dmic: Refactor of dai_nhlt_dmic_dai_params_get function") Signed-off-by: Marc Herbert <[email protected]>
1 parent 00cfab6 commit 8042e73

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/dai/intel/dmic/dmic_nhlt.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,12 +139,12 @@ static int dai_nhlt_get_clock_div(const struct dai_intel_dmic *dmic, const int p
139139

140140
val = dai_dmic_read(dmic, dmic_base[pdm] +
141141
FIR_CHANNEL_REGS_SIZE * dmic->dai_config_params.dai_index + FIR_CONFIG);
142-
LOG_ERR("pdm = %d, FIR_CONFIG = 0x%08X", pdm, val);
142+
LOG_INF("pdm = %d, FIR_CONFIG = 0x%08X", pdm, val);
143143

144144
p_mfir = FIELD_GET(FIR_CONFIG_FIR_DECIMATION, val) + 1;
145145

146146
rate_div = p_clkdiv * p_mcic * p_mfir;
147-
LOG_ERR("dai_index = %d, rate_div = %d, p_clkdiv = %d, p_mcic = %d, p_mfir = %d",
147+
LOG_INF("dai_index = %d, rate_div = %d, p_clkdiv = %d, p_mcic = %d, p_mfir = %d",
148148
dmic->dai_config_params.dai_index, rate_div, p_clkdiv, p_mcic, p_mfir);
149149

150150
if (!rate_div) {

0 commit comments

Comments
 (0)