mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-12 13:34:10 +08:00
ASoC: SOF: intel: atom: No need to do a DSP dump in atom_run()
The core already prints a dump if the DSP failed to start in snd_sof_run_firmware(), there is no need to print it locally as well. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com> Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20211006110645.26679-7-peter.ujfalusi@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
247ac64073
commit
e131bc5886
@ -283,11 +283,8 @@ int atom_run(struct snd_sof_dev *sdev)
|
||||
break;
|
||||
msleep(100);
|
||||
}
|
||||
if (tries < 0) {
|
||||
dev_err(sdev->dev, "error: unable to run DSP firmware\n");
|
||||
atom_dump(sdev, SOF_DBG_DUMP_REGS | SOF_DBG_DUMP_MBOX);
|
||||
if (tries < 0)
|
||||
return -ENODEV;
|
||||
}
|
||||
|
||||
/* return init core mask */
|
||||
return 1;
|
||||
|
Loading…
Reference in New Issue
Block a user