Re: [PATCH AUTOSEL 4.20 16/77] ASoC: soc-core: fix init platform memory handling
From: Sasha Levin
Date: Wed Feb 27 2019 - 12:34:52 EST
On Fri, Feb 15, 2019 at 11:58:18AM +0000, Mark Brown wrote:
On Thu, Feb 14, 2019 at 09:07:54PM -0500, Sasha Levin wrote:
From: Curtis Malainey <cujomalainey@xxxxxxxxxxxx>
[ Upstream commit 09ac6a817bd687e7f5dac00470262efdd72f9319 ]
snd_soc_init_platform initializes pointers to snd_soc_dai_link which is
statically allocated and it does this by devm_kzalloc. In the event of
an EPROBE_DEFER the memory will be freed and the pointers are left
This is also part of the same set of issues.
Dropped as well.
--
Thanks,
Sasha