[PATCH 0/2] ASoC: meson: card: fix driver remove
Jerome Brunet
jbrunet at baylibre.com
Fri Oct 30 09:29:52 PDT 2026
meson_card_remove() reads the wrong drvdata and frees the card links
before the card is unregistered, which crashes when the driver is
unbound. Fix both.
---
Jerome Brunet (2):
ASoC: meson: card: leave the device drvdata to the ASoC card
ASoC: meson: card: unregister the card before freeing its links
sound/soc/meson/meson-card-utils.c | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
---
base-commit: 11ae63bd9030349a0136fb2edd1622a4a029edc8
base-tree: git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
change-id: 20261026-meson-card-register-fixup-31b7983d74b1
Best regards,
--
Jerome
More information about the linux-arm-kernel
mailing list