Update of /cvsroot/alsa/alsa-kernel/core
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32337

Modified Files:
        pcm_native.c 
Log Message:
fixed the deadlock of power_lock in suspend (by Terry Loftin)


Index: pcm_native.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/core/pcm_native.c,v
retrieving revision 1.87
retrieving revision 1.88
diff -u -r1.87 -r1.88
--- pcm_native.c        26 Jan 2004 15:35:19 -0000      1.87
+++ pcm_native.c        15 Apr 2004 09:16:13 -0000      1.88
@@ -1038,7 +1038,7 @@
 
        snd_power_lock(card);
        if ((res = snd_power_wait(card, SNDRV_CTL_POWER_D0, substream->ffile)) >= 0)
-               return snd_pcm_action_lock_irq(&snd_pcm_action_resume, substream, 0, 
0);
+               res = snd_pcm_action_lock_irq(&snd_pcm_action_resume, substream, 0, 0);
        snd_power_unlock(card);
        return res;
 }



-------------------------------------------------------
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-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to