Update of /cvsroot/alsa/alsa-kernel/core In directory sc8-pr-cvs1:/tmp/cvs-serv4878
Modified Files: timer.c Log Message: Fixed EXCLUSIVE test Index: timer.c =================================================================== RCS file: /cvsroot/alsa/alsa-kernel/core/timer.c,v retrieving revision 1.39 retrieving revision 1.40 diff -u -r1.39 -r1.40 --- timer.c 3 Mar 2003 18:53:19 -0000 1.39 +++ timer.c 11 Mar 2003 14:43:39 -0000 1.40 @@ -272,7 +272,7 @@ #endif if (timer) { if (!list_empty(&timer->open_list_head)) { - timeri = (snd_timer_instance_t *)timer->open_list_head.next; + timeri = (snd_timer_instance_t *)list_entry(timer->open_list_head.next, snd_timer_instance_t, open_list); if (timeri->flags & SNDRV_TIMER_IFLG_EXCLUSIVE) { up(®ister_mutex); return -EBUSY; ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ Alsa-cvslog mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-cvslog