ASoC: SDCA: Update memory allocations to zero initialise
All the memory allocations in the SDCA ASoC helpers rely on fields being zero initialised, the code should use kzalloc not kmalloc. Reported-by:Shuming Fan <shumingf@realtek.com> Fixes: 2c8b3a8e ("ASoC: SDCA: Create DAPM widgets and routes from DisCo") Fixes: c3ca24e3 ("ASoC: SDCA: Create ALSA controls from DisCo") Signed-off-by:
Charles Keepax <ckeepax@opensource.cirrus.com> Link: https://patch.msgid.link/20250715151723.2964336-4-ckeepax@opensource.cirrus.com Signed-off-by:
Mark Brown <broonie@kernel.org>
Loading
Please sign in to comment