Update of /cvsroot/alsa/alsa-kernel/core
In directory sc8-pr-cvs1:/tmp/cvs-serv879

Modified Files:
        timer.c 
Log Message:
- disabled temporarily the check of busy timer instances to avoid
  dead-lock in the sequencer timer control.



Index: timer.c
===================================================================
RCS file: /cvsroot/alsa/alsa-kernel/core/timer.c,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -r1.42 -r1.43
--- timer.c     30 May 2003 13:37:36 -0000      1.42
+++ timer.c     18 Jun 2003 10:51:39 -0000      1.43
@@ -458,12 +458,14 @@
                return -EINVAL;
        spin_lock_irqsave(&timer->lock, flags);
        list_del_init(&timeri->ack_list);
+#if 0   /* FIXME: this causes dead lock with the sequencer timer */
        /* wait until the callback is finished */
        while (timeri->flags & SNDRV_TIMER_IFLG_CALLBACK) {
                spin_unlock_irqrestore(&timer->lock, flags);
                udelay(10);
                spin_lock_irqsave(&timer->lock, flags);
        }
+#endif
        list_del_init(&timeri->active_list);
        if ((timeri->flags & SNDRV_TIMER_IFLG_RUNNING) &&
            !(timeri->flags & SNDRV_TIMER_IFLG_SLAVE) &&



-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
Alsa-cvslog mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-cvslog

Reply via email to