linux/sound/soc/sof/imx
Guennadi Liakhovetski 6a0ba071b7
ASoC: SOF: add error handling to snd_sof_ipc_msg_data()
If an invalid stream is passed to snd_sof_ipc_msg_data() it won't
fill the provided object with data. The caller has to be able to
recognise such cases to avoid handling invalid data. Make the
function return an error when failing.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Reviewed-by: Peter Ujfalusi <peter.ujfalusi@intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20210928103516.8066-1-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2021-09-28 13:16:26 +01:00
..
imx8.c ASoC: SOF: add error handling to snd_sof_ipc_msg_data() 2021-09-28 13:16:26 +01:00
imx8m.c ASoC: SOF: add error handling to snd_sof_ipc_msg_data() 2021-09-28 13:16:26 +01:00
imx-common.c ASoC: SOF: imx: update kernel-doc description 2020-12-11 13:23:03 +00:00
imx-common.h ASoC: SOF: imx: Add debug support for imx platforms 2020-09-17 15:53:15 +01:00
imx-ops.h ASoC: SOF: imx: add header file for ops 2021-09-28 13:16:24 +01:00
Kconfig ASoC: SOF: imx: fix Kconfig punctuation 2020-11-12 17:17:57 +00:00
Makefile ASoC: SOF: imx: Add debug support for imx platforms 2020-09-17 15:53:15 +01:00