From: Mark Brown Date: Thu, 23 Sep 2010 14:28:14 +0000 (+0100) Subject: ASoC: Clean up the CODEC device as well as the board for SMDK WM9713 X-Git-Tag: 2.1b_release~4275^2~32^2~516 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=97daff36f207c62df250092863f2af7e62b0e389;p=platform%2Fkernel%2Fkernel-mfld-blackbay.git ASoC: Clean up the CODEC device as well as the board for SMDK WM9713 Otherwise we try to re-register the CODEC device if the module is reloaded and sysfs becomes miserable. Signed-off-by: Mark Brown Acked-by: Jassi Brar Acked-by: Liam Girdwood --- diff --git a/sound/soc/s3c24xx/smdk_wm9713.c b/sound/soc/s3c24xx/smdk_wm9713.c index 78a4a30..33ba8fd 100644 --- a/sound/soc/s3c24xx/smdk_wm9713.c +++ b/sound/soc/s3c24xx/smdk_wm9713.c @@ -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);