Skip to content

Commit

Permalink
drivers: dai: intel: ssp: fix LOG_ERR level / false positive
Browse files Browse the repository at this point in the history
There's no way this log level was intentional: this line is just the
title / prefix of a multi-line section with mostly LOG_INF statements.

Fixes commit 6423bc3 ("drivers: dai: intel: ssp: Improve logging
output") which was very large hence error-prone.

Fixes SOF bug thesofproject/sof#9026

Signed-off-by: Marc Herbert <marc.herbert@intel.com>
  • Loading branch information
marc-hb authored and nashif committed Apr 11, 2024
1 parent 00eae2d commit 1708122
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/dai/intel/ssp/ssp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1764,7 +1764,7 @@ static void dai_ssp_set_reg_config(struct dai_intel_ssp *dp, const struct dai_co
ssrsa = SSRSA_GET(regs->ssrsa);
sscr1 = regs->ssc1 & ~(SSCR1_RSRE | SSCR1_TSRE);

LOG_ERR("SSP%d configuration:", dp->index);
LOG_INF("SSP%d configuration:", dp->index);
if (regs->sstsa & SSTSA_TXEN || regs->ssrsa & SSRSA_RXEN ||
regs->ssc1 & (SSCR1_RSRE | SSCR1_TSRE)) {
LOG_INF(" Ignoring %s%s%s%sfrom blob",
Expand Down

0 comments on commit 1708122

Please sign in to comment.