Skip to content
Unverified Commit 66a796c0 authored by lishqchn's avatar lishqchn Committed by Mark Brown
Browse files

ASoC: core: fix wrong size kzalloc for rtd's components member



The actual space for struct snd_soc_component has been allocated by
snd_soc_register_component, here rtd's components are pointers to
components, I replace the base size from *component to component.

Signed-off-by: default avatarlishqchn <lishqchn@qq.com>
Link: https://lore.kernel.org/r/tencent_59850BB028662B6F2D49D7F3624AB84CCF05@qq.com


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