Mailing List archive

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

[linux-dvb] Re: [PATCH] Resolve tuning problem on WinTV NEXUS-CA



Markus Breitenberger wrote:
> I played around with the drivers and I found a way to work around this 
> problem:
> 
> --- frontends/stv0297.c.orig    2005-01-04 16:48:03.634238384 +0100
> +++ frontends/stv0297.c 2005-01-04 16:30:47.299785168 +0100
> @@ -647,7 +647,7 @@
>         /* wait for equaliser partial convergence */
>         timeout = jiffies + (50 * HZ) / 1000;
>         while (time_before(jiffies, timeout)) {
> -               msleep(10);
> +               msleep(100);
> 
>                 if (stv0297_readreg(state, 0x82) & 0x04) {
>                         break;

This looks to me like you put a 100ms sleep inside a
50ms timeout. How can that work?

Johannes




Home | Main Index | Thread Index