1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/sound/soc/sof/intel
Ranjani Sridharan 8f7ef6fca0
ASoC: SOF: Intel: hda: fix the condition passed to sof_dev_dbg_or_err
The condition boot_iteration == HDA_FW_BOOT_ATTEMPTS to determine
the log level for the DSP status dump would only work in the case of DSP
init failure after maximum number of attempts to initialize the DSP. If
DSP init succeeds in less than HDA_FW_BOOT_ATTEMPTS attempts and FW
loading fails, the ROM status dump would end up getting logged as debug
instead of an error.

So, add a new flag, SOF_DBG_DUMP_LOG_ERROR, to explicitly specify
the log level for DSP status dump.

Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20201211100743.3188821-4-kai.vehmanen@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2020-12-11 13:22:58 +00:00
..
apl.c ASoC: SOF: Intel: hda: define parse_platform_ext_manifest op 2020-11-27 17:23:04 +00:00
bdw.c ASoC: SOF: rename cores_mask to host_managed_cores_mask 2020-09-11 15:29:29 +01:00
byt.c ASoC: SOF: modify the SOF_DBG flags 2020-12-11 13:22:57 +00:00
cnl.c ASoC: SOF: Intel: hda: add sof_icl_ops for ICL platforms 2020-11-27 17:23:07 +00:00
ext_manifest.h ASoC: SOF: ext_manifest: parse cavs extra config data elem 2020-11-27 17:23:05 +00:00
hda-bus.c ASoC: SOF/Intel: clarify SPDX license with GPL-2.0-only 2020-05-01 17:45:24 +01:00
hda-codec.c ASoC: hdac: make SOF HDA codec driver probe deterministic 2020-09-21 23:57:24 +01:00
hda-compress.c ASoC: SOF/Intel: clarify SPDX license with GPL-2.0-only 2020-05-01 17:45:24 +01:00
hda-ctrl.c ASoC: SOF/Intel: clarify SPDX license with GPL-2.0-only 2020-05-01 17:45:24 +01:00
hda-dai.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
hda-dsp.c ASoC: SOF: Intel: hda: use semicolons rather than commas to separate statements 2020-10-26 15:28:07 +00:00
hda-ipc.c ASoC: SOF/Intel: clarify SPDX license with GPL-2.0-only 2020-05-01 17:45:24 +01:00
hda-ipc.h ASoC: SOF: Intel: hda: Add sof_tgl_ops for TGL platforms 2020-08-27 14:22:23 +01:00
hda-loader.c ASoC: SOF: Intel: hda: fix the condition passed to sof_dev_dbg_or_err 2020-12-11 13:22:58 +00:00
hda-pcm.c ASoC: SOF: Intel: add hw specific PCM constraints 2020-11-19 13:00:04 +00:00
hda-stream.c ASoC: SOF: Intel: hda: Add helper function to program ICCMAX stream 2020-08-27 14:22:19 +01:00
hda-trace.c ASoC: SOF/Intel: clarify SPDX license with GPL-2.0-only 2020-05-01 17:45:24 +01:00
hda.c ASoC: SOF: Intel: hda: fix the condition passed to sof_dev_dbg_or_err 2020-12-11 13:22:58 +00:00
hda.h ASoC: SOF: Intel: hda: add sof_icl_ops for ICL platforms 2020-11-27 17:23:07 +00:00
icl.c ASoC: SOF: Intel: hda: add sof_icl_ops for ICL platforms 2020-11-27 17:23:07 +00:00
intel-ipc.c ASoC: SOF: Intel: add hw specific PCM constraints 2020-11-19 13:00:04 +00:00
Kconfig ASoC: SOF: Intel: add SoundWire support for ADL-S 2020-12-09 16:52:05 +00:00
Makefile ASoC: SOF: Intel: hda: add sof_icl_ops for ICL platforms 2020-11-27 17:23:07 +00:00
shim.h ASoC: SOF: rename cores_mask to host_managed_cores_mask 2020-09-11 15:29:29 +01:00
tgl.c ASoC: SOF: Intel: hda: define parse_platform_ext_manifest op 2020-11-27 17:23:04 +00:00