Update of /cvsroot/alsa/alsa-kernel/pci/vx222 In directory sc8-pr-cvs1:/tmp/cvs-serv13340/pci/vx222
Modified Files: vx222_ops.c Log Message: Revised schedule() and set_current_state() calls. Replaced need_resched() with cond_resched() call. Index: vx222_ops.c =================================================================== RCS file: /cvsroot/alsa/alsa-kernel/pci/vx222/vx222_ops.c,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- vx222_ops.c 23 May 2003 16:21:13 -0000 1.2 +++ vx222_ops.c 30 Sep 2003 09:28:27 -0000 1.3 @@ -378,11 +378,7 @@ if (put_xilinx_data(chip, port, 8, data) < 0) return -EINVAL; /* don't take too much time in this loop... */ - if (need_resched()) { - if (current->state != TASK_RUNNING) - set_current_state(TASK_RUNNING); - schedule(); - } + cond_resched(); } put_xilinx_data(chip, port, 4, 0xff); /* end signature */ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Alsa-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-cvslog