At Thu, 11 Mar 2004 18:38:16 +0100,
Alexander Nyberg wrote:
> 
> This happens at shutdown when alsa is to be closed with kernel 2.6.4-mm.
> I'm running debian sid, snd_via82xx compiled as module.
> Happens also on 2.6.4-rc2-mm1, I can try on more kernels as well if it
> is not a clear case.
> 
> 
> I slapped a printk on these just before the badness:
> de->subdir->name = "id", de->name = "card0"

does the attached patch work?


--
Takashi Iwai <[EMAIL PROTECTED]>                ALSA Developer - www.alsa-project.org
--- linux/sound/core/init.c     4 Mar 2004 17:54:06 -0000       1.37
+++ linux/sound/core/init.c     11 Mar 2004 19:01:42 -0000
@@ -281,7 +281,7 @@
        }
        if (card->private_free)
                card->private_free(card);
-       snd_info_free_entry(card->proc_id);
+       snd_info_unregister(card->proc_id);
        if (snd_info_card_free(card) < 0) {
                snd_printk(KERN_WARNING "unable to free card info\n");
                /* Not fatal error */


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to