[linux-dvb] [PATCH] stv0297: increase timeout fix for TT DVB-C 1500 w/ QAM128

Michael Krufky mkrufky at m1k.net
Sat Aug 20 19:28:34 CEST 2005


Michael Krufky wrote:
> After applying the first patch, please apply this next (attached) patch 
> with timeouts proven to work by Sami Vento...  Please let us know if 
> this works for you.

Please ignore my previous email:

The disable-corner-edge-detection.patch has already been applied to cvs. 
  Also, the previous timeout increase patch that I sent you has an 
unnecessary msleep increase...

Please test current dvb-kernel cvs with this attached patch, and post 
your results,

Cheers


-------------- next part --------------
This patch triples a timeout in order to get the frontend to work on
TT DVB-C 1500 w/ QAM128.

Signed-off-by: Sami Vento <sami.vento at tr.spt.fi>
Signed-off-by: Michael Krufky <mkrufky at m1k.net>

 stv0297.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -upr dvb-kernel.orig/linux/drivers/media/dvb/frontends/stv0297.c dvb-kernel/linux/drivers/media/dvb/frontends/stv0297.c
--- dvb-kernel.orig/linux/drivers/media/dvb/frontends/stv0297.c	2005-08-20 13:17:40.000000000 +0000
+++ dvb-kernel/linux/drivers/media/dvb/frontends/stv0297.c	2005-08-20 13:18:09.000000000 +0000
@@ -521,7 +521,7 @@ static int stv0297_set_frontend(struct d
 	msleep(20);
 
 	/* wait for equaliser partial convergence */
-	timeout = jiffies + msecs_to_jiffies(500);
+	timeout = jiffies + msecs_to_jiffies(1500);
 	while (time_before(jiffies, timeout)) {
 		msleep(10);
 


More information about the linux-dvb mailing list