ASoC: SOF: Add FW state to debugfs
authorCurtis Malainey <cujomalainey@chromium.org>
Tue, 20 Dec 2022 12:56:29 +0000 (14:56 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 21 Dec 2022 12:11:51 +0000 (12:11 +0000)
commit9a9134fd56f6ba614ff7b2b3b0bac0bf1d0dc0c9
treec4489cc23f48ea00c429c86d2bc593d836d33d05
parentd185e0689abc98ef55fb7a7d75aa0c48a0ed5838
ASoC: SOF: Add FW state to debugfs

Allow system health detection mechanisms to check the FW state, this
will allow them to check if the FW is in its "crashed" state going
forward to help automatically diagnose driver state.

Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20221220125629.8469-4-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/debug.c