diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-09-23 10:28:14 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2010-09-24 05:40:08 -0400 |
commit | 97daff36f207c62df250092863f2af7e62b0e389 (patch) | |
tree | 6e74de96007efbcc67cf75eada8d09771187dab5 /sound/soc/s3c24xx | |
parent | 9fab9635033a175c6583bd4ec702a200940c5a56 (diff) |
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 <broonie@opensource.wolfsonmicro.com>
Acked-by: Jassi Brar <jassi.brar@samsung.com>
Acked-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'sound/soc/s3c24xx')
-rw-r--r-- | sound/soc/s3c24xx/smdk_wm9713.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/soc/s3c24xx/smdk_wm9713.c b/sound/soc/s3c24xx/smdk_wm9713.c index 78a4a30bad9..33ba8fdbcf0 100644 --- a/sound/soc/s3c24xx/smdk_wm9713.c +++ b/sound/soc/s3c24xx/smdk_wm9713.c | |||
@@ -95,6 +95,7 @@ err: | |||
95 | static void __exit smdk_exit(void) | 95 | static void __exit smdk_exit(void) |
96 | { | 96 | { |
97 | platform_device_unregister(smdk_snd_ac97_device); | 97 | platform_device_unregister(smdk_snd_ac97_device); |
98 | platform_device_unregister(smdk_snd_wm9713_device); | ||
98 | } | 99 | } |
99 | 100 | ||
100 | module_init(smdk_init); | 101 | module_init(smdk_init); |