diff options
author | Peter Ujfalusi <peter.ujfalusi@linux.intel.com> | 2022-06-10 11:04:21 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-06-10 13:32:21 +0100 |
commit | 145cb4e7a9ee12326f99948d8980ad258462b6c4 (patch) | |
tree | 32a009a42af05a6bc34b4dca8265b82f41ba3520 /sound/soc/sof/ipc3-dtrace.c | |
parent | df4d27b19b892f464685ea45fa6132dd1a2b6864 (diff) | |
download | lwn-145cb4e7a9ee12326f99948d8980ad258462b6c4.tar.gz lwn-145cb4e7a9ee12326f99948d8980ad258462b6c4.zip |
ASoC: SOF: debug: Clarify the IPC timeout handling path
The dmesg log message of "Firmware exception" causes lots of confusion as
the snd_sof_handle_fw_exception() is only called in case of an IPC tx
timeout, where such a message does not make much sense.
To not limit the snd_sof_handle_fw_exception() handler to just one error
case, add a parameter to allow the caller to specify a meaningful message
to be printed.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Yaochun Hung <yc.hung@mediatek.com>
Link: https://lore.kernel.org/r/20220610080421.31453-1-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/ipc3-dtrace.c')
0 files changed, 0 insertions, 0 deletions