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

From: Mark Brown
Date: Wed Jun 26 2019 - 06:38:49 EST


On Tue, Jun 25, 2019 at 11:40:47PM -0400, Sasha Levin wrote:
> From: Tzung-Bi Shih <tzungbi@xxxxxxxxxx>
>
> [ 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: signature.asc
Description: PGP signature