ASoC: SOF: ipc4: check return value of snd_sof_ipc_msg_data
authorBard Liao <yung-chuan.liao@linux.intel.com>
Wed, 29 Nov 2023 12:20:21 +0000 (14:20 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 29 Nov 2023 13:25:25 +0000 (13:25 +0000)
commit2bd512626f8ea3957c981cadd2ebf75feff737dd
tree459d8d96cda5062fc063cac88911dd4079038b3c
parent8c91ca76f44804868d12aed20ebdbc2f89aa7d60
ASoC: SOF: ipc4: check return value of snd_sof_ipc_msg_data

snd_sof_ipc_msg_data could return error.

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