mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-03 22:57:21 -04:00
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>
This commit is contained in:
@@ -95,6 +95,7 @@ static int __init smdk_init(void)
|
||||
static void __exit smdk_exit(void)
|
||||
{
|
||||
platform_device_unregister(smdk_snd_ac97_device);
|
||||
platform_device_unregister(smdk_snd_wm9713_device);
|
||||
}
|
||||
|
||||
module_init(smdk_init);
|
||||
|
||||
Reference in New Issue
Block a user