Skip to content

Commit ceca219

Browse files
bardliaobroonie
authored andcommitted
ASoC: SOF: Intel: lower print level to dbg if we will reinit DSP
We will reinit DSP in a loop when it fails to initialize the first time, as recommended. So, it is not an error before we finally give up. And reorder the trace to make it more readable. Signed-off-by: Bard liao <[email protected]> Signed-off-by: Pierre-Louis Bossart <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 8e55ea1 commit ceca219

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

sound/soc/sof/intel/hda-loader.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -329,13 +329,13 @@ int hda_dsp_cl_boot_firmware(struct snd_sof_dev *sdev)
329329
if (!ret)
330330
break;
331331

332-
dev_err(sdev->dev, "error: Error code=0x%x: FW status=0x%x\n",
332+
dev_dbg(sdev->dev, "iteration %d of Core En/ROM load failed: %d\n",
333+
i, ret);
334+
dev_dbg(sdev->dev, "Error code=0x%x: FW status=0x%x\n",
333335
snd_sof_dsp_read(sdev, HDA_DSP_BAR,
334336
HDA_DSP_SRAM_REG_ROM_ERROR),
335337
snd_sof_dsp_read(sdev, HDA_DSP_BAR,
336338
HDA_DSP_SRAM_REG_ROM_STATUS));
337-
dev_err(sdev->dev, "error: iteration %d of Core En/ROM load failed: %d\n",
338-
i, ret);
339339
}
340340

341341
if (i == HDA_FW_BOOT_ATTEMPTS) {

0 commit comments

Comments
 (0)