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

Mark Brown
2019-02-15T11:58:23Z

[-- Attachment #1: Type: text/plain, Size: 454 bytes --]

On Thu, Feb 14, 2019 at 09:07:54PM -0500, Sasha Levin wrote:
> From: Curtis Malainey <cujomalainey@chromium.org>
>
> [ 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 #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]