diff options
author | Ranjani Sridharan <ranjani.sridharan@linux.intel.com> | 2020-12-11 11:07:42 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-12-11 14:22:57 +0100 |
commit | fbfa22ec4b2b8a1bb1a52c56c376295c7b7e7849 (patch) | |
tree | 17168cfb80d43c4fbf13f6de82be72d610dd10f4 /sound/soc/sof/debug.c | |
parent | ASoC: SOF: Intel: hda: remove duplicated status dump (diff) | |
download | linux-fbfa22ec4b2b8a1bb1a52c56c376295c7b7e7849.tar.xz linux-fbfa22ec4b2b8a1bb1a52c56c376295c7b7e7849.zip |
ASoC: SOF: modify the SOF_DBG flags
The SOF_DBG_* macros are used for dual purposes right now, for the
sof_core_debug module parameter and for the dbg_dump() ops. So, separate
these two types of flags into different types to avoid confusion.
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-3-kai.vehmanen@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/debug.c')
-rw-r--r-- | sound/soc/sof/debug.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/soc/sof/debug.c b/sound/soc/sof/debug.c index 143117334ae5..30213a1beaaa 100644 --- a/sound/soc/sof/debug.c +++ b/sound/soc/sof/debug.c @@ -817,7 +817,7 @@ void snd_sof_handle_fw_exception(struct snd_sof_dev *sdev) } /* dump vital information to the logs */ - snd_sof_dsp_dbg_dump(sdev, SOF_DBG_REGS | SOF_DBG_MBOX); + snd_sof_dsp_dbg_dump(sdev, SOF_DBG_DUMP_REGS | SOF_DBG_DUMP_MBOX); snd_sof_ipc_dump(sdev); snd_sof_trace_notify_for_error(sdev); } |