Re: [PATCH AUTOSEL 4.20 16/77] ASoC: soc-core: fix init platform memory handling

From: Mark Brown
Date: Fri Feb 15 2019 - 06:58:24 EST


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.

Attachment: signature.asc
Description: PGP signature