Applied "ASoC: soc-utils: Fix unregistration order" to the asoc tree

Message ID
State New
Headers show
  • Applied "ASoC: soc-utils: Fix unregistration order" to the asoc tree
Related show

Commit Message

Mark Brown June 26, 2018, 3:12 p.m.
The patch

   ASoC: soc-utils: Fix unregistration order

has been applied to the asoc tree at 

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.


From b66c9b911fe6ca188002b342b05c43deab4491a3 Mon Sep 17 00:00:00 2001
From: Fabio Estevam <>

Date: Tue, 26 Jun 2018 08:58:35 -0300
Subject: [PATCH] ASoC: soc-utils: Fix unregistration order

The unregistration should happen in the opposite order of
the registration, so change it accordingly.

No real issue has been noticed, but it is good practice to
keep the correct unregistration order.

Signed-off-by: Fabio Estevam <>

Signed-off-by: Mark Brown <>

 sound/soc/soc-utils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


Alsa-devel mailing list


diff --git a/sound/soc/soc-utils.c b/sound/soc/soc-utils.c
index 2d9e98bd1530..a863bb3f66c2 100644
--- a/sound/soc/soc-utils.c
+++ b/sound/soc/soc-utils.c
@@ -381,6 +381,6 @@  int __init snd_soc_util_init(void)
 void __exit snd_soc_util_exit(void)
-	platform_device_unregister(soc_dummy_dev);
+	platform_device_unregister(soc_dummy_dev);