Update of /cvsroot/alsa/alsa-kernel/sparc In directory sc8-pr-cvs1:/tmp/cvs-serv9757/sparc
Modified Files: cs4231.c Log Message: Sync with the 2.5 kernel tree Index: cs4231.c =================================================================== RCS file: /cvsroot/alsa/alsa-kernel/sparc/cs4231.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- cs4231.c 8 May 2003 08:32:35 -0000 1.7 +++ cs4231.c 6 Jun 2003 11:54:28 -0000 1.8 @@ -716,10 +716,12 @@ case SNDRV_PCM_TRIGGER_STOP: { unsigned int what = 0; - snd_pcm_substream_t *s = substream; + snd_pcm_substream_t *s; + struct list_head *pos; unsigned long flags; - do { + snd_pcm_group_for_each(pos, substream) { + s = snd_pcm_group_substream_entry(pos); if (s == chip->playback_substream) { what |= CS4231_PLAYBACK_ENABLE; snd_pcm_trigger_done(s, substream); @@ -727,8 +729,7 @@ what |= CS4231_RECORD_ENABLE; snd_pcm_trigger_done(s, substream); } - s = s->link_next; - } while (s != substream); + } #if 0 printk("TRIGGER: what[%x] on(%d)\n", ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. _______________________________________________ Alsa-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-cvslog