Update of /cvsroot/alsa/alsa-kernel/pci/ac97 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26533
Modified Files: ac97_codec.c ac97_patch.c Log Message: Fixed mutex deadlocks. Index: ac97_codec.c =================================================================== RCS file: /cvsroot/alsa/alsa-kernel/pci/ac97/ac97_codec.c,v retrieving revision 1.135 retrieving revision 1.136 diff -u -r1.135 -r1.136 --- ac97_codec.c 28 May 2004 09:27:09 -0000 1.135 +++ ac97_codec.c 30 May 2004 16:40:04 -0000 1.136 @@ -642,7 +642,7 @@ snd_ac97_update_bits(ac97, AC97_INT_PAGING, AC97_PAGE_MASK, page); err = func(kcontrol, ucontrol); snd_ac97_update_bits(ac97, AC97_INT_PAGING, AC97_PAGE_MASK, page_save); - down(&ac97->mutex); /* unlock paging */ + up(&ac97->mutex); /* unlock paging */ } else err = func(kcontrol, ucontrol); return err; Index: ac97_patch.c =================================================================== RCS file: /cvsroot/alsa/alsa-kernel/pci/ac97/ac97_patch.c,v retrieving revision 1.52 retrieving revision 1.53 diff -u -r1.52 -r1.53 --- ac97_patch.c 28 May 2004 09:27:09 -0000 1.52 +++ ac97_patch.c 30 May 2004 16:40:05 -0000 1.53 @@ -62,7 +62,7 @@ snd_ac97_update_bits(ac97, AC97_INT_PAGING, AC97_PAGE_MASK, page); ret = snd_ac97_update_bits(ac97, reg, mask, value); snd_ac97_update_bits(ac97, AC97_INT_PAGING, AC97_PAGE_MASK, page_save); - down(&ac97->mutex); /* unlock paging */ + up(&ac97->mutex); /* unlock paging */ return ret; } ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Alsa-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-cvslog