Guennadi Liakhovetski e3720f92e0
ASoC: SOF: avoid a NULL dereference with unsupported widgets
If an IPC4 topology contains an unsupported widget, its .module_info
field won't be set, then sof_ipc4_route_setup() will cause a kernel
Oops trying to dereference it. Add a check for such cases.

Cc: stable@vger.kernel.org # 6.2
Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20230329113828.28562-1-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2023-03-29 14:40:18 +01:00
..
2023-02-22 10:29:05 -08:00
2023-01-31 11:05:03 +00:00
2023-02-22 10:29:05 -08:00
2023-02-16 13:11:35 +00:00
2023-01-31 11:04:59 +00:00
2023-01-31 11:05:05 +00:00
2023-02-22 10:29:05 -08:00
2023-02-16 14:32:04 +01:00