Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] av7710.c - debiirq - case DATA_TS_RECORD



Hi,

the 'break' statement in av7710.c/debiirq/'case DATA_TS_RECORD' should 
be replaced by a 'return' as in all other case statements.

Otherwise 
        ARM_ClearMailBox(av7110);
is being called twice. 

--- av7110.c.orig	Sat Feb  8 02:42:01 2003
+++ av7110.c	Sat Feb  8 18:21:43 2003
@@ -991,7 +991,7 @@
                 iwdebi(av7110, DEBINOSWAP, RX_BUFF, 0, 2);
                 ARM_ClearMailBox(av7110);
                 spin_unlock(&av7110->debilock);
-                break;
+                return;
 
         case DATA_PES_RECORD:
                 if (av7110->demux.recording) 

I don't think that it makes a difference unless the ARM is *very* fast.

Oliver


-- 
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index