Mailing List archive

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

[linux-dvb] Re: Slow Channel Switch with latest CVS (again)



Andreas Brachold wrote:
> 
> > With kernel 2.6.2-rc2 and dvb-kernel cvs from ~ 20.1. the switching is much
> > faster. Is there someone else with the same problem?
> 
> I've the same slow switching problem with the new dvb-driver 1.1.0

Does the patch below fix it?


Index: linux/drivers/media/dvb/dvb-core/dvb_frontend.c
===================================================================
RCS file: /cvs/linuxtv/dvb-kernel/linux/drivers/media/dvb/dvb-core/dvb_frontend.c,v
retrieving revision 1.58
diff -u -p -r1.58 dvb_frontend.c
--- linux/drivers/media/dvb/dvb-core/dvb_frontend.c	31 Jan 2004 11:56:17 -0000	1.58
+++ linux/drivers/media/dvb/dvb-core/dvb_frontend.c	7 Feb 2004 15:14:06 -0000
@@ -446,7 +446,7 @@ static int dvb_frontend_thread (void *da
 	while (1) {
 		up (&fe->sem);      /* is locked when we enter the thread... */
 
-		timeout = wait_event_interruptible_timeout(fe->wait_queue,0 != dvb_frontend_is_exiting (fe), 5*HZ);
+		timeout = wait_event_interruptible_timeout(fe->wait_queue,0 != dvb_frontend_is_exiting (fe), delay);
 		if (-ERESTARTSYS == timeout || 0 != dvb_frontend_is_exiting (fe)) {
 			/* got signal or quitting */
 			break;

Johannes


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



Home | Main Index | Thread Index