Unverified Commit 15247b5a authored by Charles Keepax's avatar Charles Keepax Committed by Mark Brown
Browse files

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: default avatarShuming 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: default avatarCharles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20250715151723.2964336-4-ckeepax@opensource.cirrus.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 71562278
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment