Re: [PATCH 3/3] ASoC: Clean up the CODEC device as well as the board for SMDK WM9713

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Sep 23, 2010 at 11:40 PM, Mark Brown
<broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> Otherwise we try to re-register the CODEC device if the module is reloaded
> and sysfs becomes miserable.
>
> Signed-off-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
> ---
> Â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 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);

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 ?
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux