Re: [PATCH] ASoC: soc-core: fix crash when removing not instantiated card

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

 



On Mon, May 11, 2009 at 01:04:55PM +0300, Mike Rapoport wrote:
> If the card was not instantiated in snd_soc_instantiate_card, calling
> soc-remove will crash because some of codec, cpu_dai and card .remove
> methods are called twice.
> Fix this by returning from soc_remove immediately.
> 
> Signed-off-by: Mike Rapoport <mike@xxxxxxxxxxxxxx>

Applied, thanks.
_______________________________________________
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