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

Modified Files:
        seq_oss_timer.c 
Log Message:
export snd_seq_set_queue_tempo() for OSS to prevent calling
snd_seq_kernel_client_ctl() (using copy_from_user()) in interrupt
context

Index: seq_oss_timer.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/core/seq/oss/seq_oss_timer.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- seq_oss_timer.c     20 May 2003 21:43:30 -0000      1.5
+++ seq_oss_timer.c     24 May 2004 12:31:19 -0000      1.6
@@ -168,7 +168,7 @@
        tmprec.queue = dp->queue;
        tmprec.ppq = timer->ppq;
        tmprec.tempo = timer->tempo;
-       snd_seq_kernel_client_ctl(dp->cseq, SNDRV_SEQ_IOCTL_SET_QUEUE_TEMPO, &tmprec);
+       snd_seq_set_queue_tempo(dp->cseq, &tmprec);
 
        send_timer_event(dp, SNDRV_SEQ_EVENT_START, 0);
        timer->running = 1;



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

Reply via email to