Re: [PATCH AUTOSEL 5.1 31/51] ASoC: core: move DAI pre-links initiation to snd_soc_instantiate_card

Mark Brown
2019-06-26T10:38:49Z

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

On Tue, Jun 25, 2019 at 11:40:47PM -0400, Sasha Levin wrote:
> From: Tzung-Bi Shih <tzungbi@google.com>
>
> [ Upstream commit 70fc53734e71ce51f46dfcfd1a1c319e1cfe080c ]
>
> Kernel crashes when an ASoC component rebinding.
>
> The dai_link->platforms has been reset to NULL by soc_cleanup_platform()
> in soc_cleanup_card_resources() when un-registering component. However,
> it has no chance to re-allocate the dai_link->platforms when registering
> the component again.

Again, are you sure there's no dependencies?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]