On Thu, Sep 23, 2010 at 11:56 PM, Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote: > On Thu, Sep 23, 2010 at 11:53:00PM +0900, Jassi Brar wrote: >> On Thu, Sep 23, 2010 at 11:40 PM, Mark Brown > >> > Âstatic void __exit smdk_exit(void) >> > Â{ >> > Â Â Â Âplatform_device_unregister(smdk_snd_ac97_device); >> > + Â Â Â platform_device_unregister(smdk_snd_wm9713_device); >> > Â} >> > >> > Âmodule_init(smdk_init); > >> I think we need more than this to make module load/unload/load work. >> Like the soc-audio device added. Wouldn't that spoil the party next time >> the module is tried to loaded ? > > Yes, the soc-audio device does need to be unregistered - it's the > smdk_snd_ac97_device that was already being unregistered here. Even though more needs to be done to achieve purpose of this patch, this change is harmless. So as is or with more changes.... Acked-by: Jassi Brar <jassi.brar@xxxxxxxxxxx> _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel