Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Peter Ujfalusi and committed by
Mark Brown
e131bc58 247ac640

+1 -4
+1 -4
sound/soc/sof/intel/atom.c
··· 283 283 break; 284 284 msleep(100); 285 285 } 286 - if (tries < 0) { 287 - dev_err(sdev->dev, "error: unable to run DSP firmware\n"); 288 - atom_dump(sdev, SOF_DBG_DUMP_REGS | SOF_DBG_DUMP_MBOX); 286 + if (tries < 0) 289 287 return -ENODEV; 290 - } 291 288 292 289 /* return init core mask */ 293 290 return 1;