Re: [PATCH] Fix to qt1010 tuner frequency selection (media/dvb)

From: Carlos Corbacho
Date: Wed Oct 19 2011 - 17:06:33 EST


Jyrki,

So after a bit more testing...

[...]

> >> /* 22 */
> >> if (freq< 450000000) rd[15].val = 0xd0; /* 450 MHz
> >> */
> >>
> >> - else if (freq< 482000000) rd[15].val = 0xd1; /* 482 MHz */
> >> + else if (freq< 482000000) rd[15].val = 0xd2; /* 482 MHz */

This change isn't so good.

With this change, I can no longer tune to channel 21 (474 MHz). If I revert it
back to 0xd1, it's fine.

[...]

> >>
> >> else if (freq< 514000000) rd[15].val = 0xd4; /* 514 MHz
> >> */
> >>
> >> - else if (freq< 546000000) rd[15].val = 0xd7; /* 546 MHz */
> >> + else if (freq< 546000000) rd[15].val = 0xd6; /* 546 MHz */
> >> + else if (freq< 578000000) rd[15].val = 0xd8; /* 578 MHz */

(This change is still good though, as this does allow me to now tune to the
BBC channels in this range).

-Carlos
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/