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

Modified Files:
        cs4281.c es1968.c maestro3.c 
Log Message:
- call snd_ac97_suspend() in the suspend callback.
- suspend/resume secondary codecs, too.


Index: cs4281.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/cs4281.c,v
retrieving revision 1.53
retrieving revision 1.54
diff -u -r1.53 -r1.54
--- cs4281.c    13 Apr 2004 14:59:00 -0000      1.53
+++ cs4281.c    14 Apr 2004 17:27:04 -0000      1.54
@@ -2046,6 +2046,11 @@
 
        snd_pcm_suspend_all(chip->pcm);
 
+       if (chip->ac97)
+               snd_ac97_suspend(chip->ac97);
+       if (chip->ac97_secondary)
+               snd_ac97_suspend(chip->ac97_secondary);
+
        ulCLK = snd_cs4281_peekBA0(chip, BA0_CLKCR1);
        ulCLK |= CLKCR1_CKRA;
        snd_cs4281_pokeBA0(chip, BA0_CLKCR1, ulCLK);

Index: es1968.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/es1968.c,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -r1.64 -r1.65
--- es1968.c    13 Apr 2004 14:59:00 -0000      1.64
+++ es1968.c    14 Apr 2004 17:27:04 -0000      1.65
@@ -2424,6 +2424,7 @@
                return 0;
 
        snd_pcm_suspend_all(chip->pcm);
+       snd_ac97_suspend(chip->ac97);
        snd_es1968_bob_stop(chip);
        snd_power_change_state(card, SNDRV_CTL_POWER_D3hot);
        return 0;

Index: maestro3.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/pci/maestro3.c,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -r1.51 -r1.52
--- maestro3.c  13 Apr 2004 14:59:00 -0000      1.51
+++ maestro3.c  14 Apr 2004 17:27:04 -0000      1.52
@@ -2420,6 +2420,7 @@
                return 0;
 
        snd_pcm_suspend_all(chip->pcm);
+       snd_ac97_suspend(chip->ac97);
 
        big_mdelay(10); /* give the assp a chance to idle.. */
 



-------------------------------------------------------
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