Skip to content

Commit

Permalink
drivers: imx: micfil: Change loglevel to info
Browse files Browse the repository at this point in the history
There is no need to print an error at the beginning of a function.
The usual behavior should be to print an info.

Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
  • Loading branch information
dbaluta committed Oct 25, 2023
1 parent 1b1ec6c commit f6c8706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/drivers/imx/micfil.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ static int micfil_get_hw_params(struct dai *dai,
{
struct micfil_pdata *micfil = dai_get_drvdata(dai);

dai_err(dai, "micfil_get_hw_params()");
dai_info(dai, "micfil_get_hw_params()");

params->rate = micfil->params.pdm_rate;
params->channels = micfil->params.pdm_ch;
Expand Down

0 comments on commit f6c8706

Please sign in to comment.