ASoC: SOF: ipc4: Dump the payload also when set_get_data fails
authorPeter Ujfalusi <peter.ujfalusi@linux.intel.com>
Thu, 14 Sep 2023 12:51:15 +0000 (15:51 +0300)
committerMark Brown <broonie@kernel.org>
Thu, 14 Sep 2023 14:56:56 +0000 (15:56 +0100)
commitf7d67a9c254829930355d675e989c0dfa884242c
tree2faea327b15d2d0673b79e42bd76215b0c51aa95
parent353bc9924cb1b7176fdc4ebb3610306398f41c94
ASoC: SOF: ipc4: Dump the payload also when set_get_data fails

Move the out label to dump the message payload when the IPC message fails.
The payload contains important information on what might have caused the
error in firmware.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20230914125115.30904-1-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/ipc4.c