Skip to content

Commit c961cd3

Browse files
committed
ASoC: SOF: debug: Print out the fw_state along with the DSP dump
The fw state can be an important information along with the DSP dump. Print it out before the dump. Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
1 parent 3d155f2 commit c961cd3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

sound/soc/sof/debug.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -831,6 +831,7 @@ void snd_sof_dsp_dbg_dump(struct snd_sof_dev *sdev, u32 flags)
831831

832832
if (sof_ops(sdev)->dbg_dump && !sdev->dbg_dump_printed) {
833833
dev_err(sdev->dev, "------------[ DSP dump start ]------------\n");
834+
dev_err(sdev->dev, "DSP firmware state: %d\n", sdev->fw_state);
834835
sof_ops(sdev)->dbg_dump(sdev, flags);
835836
dev_err(sdev->dev, "------------[ DSP dump end ]------------\n");
836837
if (!print_all)

0 commit comments

Comments
 (0)