linux/sound/soc/sdca
Charles Keepax 2799018103
ASoC: SDCA: Add allocation failure check for Entity name
Currently find_sdca_entity_iot() can allocate a string for the
Entity name but it doesn't check if that allocation succeeded.
Add the missing NULL check after the allocation.

Fixes: 48fa77af2f ("ASoC: SDCA: Add terminal type into input/output widget name")
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20260303141707.3841635-1-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2026-03-03 14:23:32 +00:00
..
Kconfig ASoC: sdca: Fix missing regmap dependencies in Kconfig 2026-01-29 14:16:59 +00:00
Makefile ASoC: SDCA: Factor out jack handling into new c file 2025-12-22 09:00:56 +00:00
sdca_asoc.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
sdca_class.c ASoC: SDCA: Add lock to serialise the Function initialisation 2026-01-14 13:35:54 +00:00
sdca_class.h ASoC: SDCA: Add lock to serialise the Function initialisation 2026-01-14 13:35:54 +00:00
sdca_class_function.c ASoC: SDCA: Add NO_DIRECT_COMPLETE flag to class driver 2026-01-21 17:25:18 +00:00
sdca_device.c ASoC: SDCA: Add SDCA FDL data parsing 2025-10-27 15:31:23 +00:00
sdca_fdl.c ASoC: SDCA: Rearrange FDL file messages 2026-02-04 14:10:49 +00:00
sdca_function_device.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
sdca_function_device.h ASoC: SDCA: add function devices 2025-11-20 17:22:59 +00:00
sdca_functions.c ASoC: SDCA: Add allocation failure check for Entity name 2026-03-03 14:23:32 +00:00
sdca_hid.c ASoC: SDCA: Remove duplicated module macros 2025-11-20 17:22:49 +00:00
sdca_interrupts.c ASoC: SDCA: Fix comments for sdca_irq_request() 2026-02-26 17:57:37 +01:00
sdca_jack.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
sdca_regmap.c ASoC: SDCA: Add regmap defaults for specification defined values 2026-02-04 14:10:50 +00:00
sdca_ump.c ASoC: SDCA: Replace use of system_wq with system_dfl_wq 2026-01-06 13:27:55 +00:00