[linux-dvb] DVB-C & QAM256 problem
Johannes Stezenbach
js at linuxtv.org
Thu Jun 23 23:13:53 CEST 2005
On Tue, May 31, 2005 at 05:37:43PM +0300, Mikko Hamalainen wrote:
> You probably should increase timeouts in the stv0297 frontend driver.
> Something like this works fine for QAM128 with my C2300 card:
I tentatively applied this patch to CVS, as suggested by Timo Ketolainen.
Johannes
> --- stv0297.c 2005-04-20 19:29:21.122342784 +0300
> +++ /root/dvb-kernel/linux/drivers/media/dvb/frontends/stv0297.c
> 2005-04-05 03:30:39.000000000 +0300
> @@ -617,7 +617,7 @@
>
> /* wait for WGAGC lock */
> starttime = jiffies;
> - timeout = jiffies + (200 * HZ) / 1000;
> + timeout = jiffies + (2000 * HZ) / 1000;
> while (time_before(jiffies, timeout)) {
> msleep(10);
> if (stv0297_readreg(state, 0x43) & 0x08)
> @@ -629,7 +629,7 @@
> msleep(20);
>
> /* wait for equaliser partial convergence */
> - timeout = jiffies + (50 * HZ) / 1000;
> + timeout = jiffies + (500 * HZ) / 1000;
> while (time_before(jiffies, timeout)) {
> msleep(10);
More information about the linux-dvb
mailing list