ASoC: Clean up the CODEC device as well as the board for SMDK WM9713
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 23 Sep 2010 14:28:14 +0000 (15:28 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 24 Sep 2010 09:40:08 +0000 (10:40 +0100)
Otherwise we try to re-register the CODEC device if the module is reloaded
and sysfs becomes miserable.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Jassi Brar <jassi.brar@samsung.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
sound/soc/s3c24xx/smdk_wm9713.c

index 78a4a30..33ba8fd 100644 (file)
@@ -95,6 +95,7 @@ err:
 static void __exit smdk_exit(void)
 {
        platform_device_unregister(smdk_snd_ac97_device);
+       platform_device_unregister(smdk_snd_wm9713_device);
 }
 
 module_init(smdk_init);