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?