Message ID | 20221215185347.1457541-4-ranjani.sridharan@linux.intel.com (mailing list archive) |
---|---|
State | Accepted |
Commit | 9a9134fd56f6ba614ff7b2b3b0bac0bf1d0dc0c9 |
Headers | show |
Series | ASoC: SOF: Fixes for suspend after firmware crash | expand |
diff --git a/sound/soc/sof/debug.c b/sound/soc/sof/debug.c index d9a3ce7b69e1..ade0507328af 100644 --- a/sound/soc/sof/debug.c +++ b/sound/soc/sof/debug.c @@ -353,7 +353,9 @@ int snd_sof_dbg_init(struct snd_sof_dev *sdev) return err; } - return 0; + return snd_sof_debugfs_buf_item(sdev, &sdev->fw_state, + sizeof(sdev->fw_state), + "fw_state", 0444); } EXPORT_SYMBOL_GPL(snd_sof_dbg_init);