[2.6.16 STABLE PATCH] V4L/DVB (3324): Fix Samsung tuner frequencyranges

From: Michael Krufky
Date: Mon Mar 20 2006 - 22:32:01 EST


This is a critical patch that didn't get pulled in time for 2.6.16
Please apply this to 2.6.16.1

From: Hans Verkuil <hverkuil@xxxxxxxxx>
Date: Mon, 6 Feb 2006 21:52:24 +0000 (+0200)
Subject: V4L/DVB (3324): Fix Samsung tuner frequency ranges
X-Git-Url: http://www.kernel.org/git/?p=linux/kernel/git/mchehab/v4l-dvb.git;a=commitdiff;h=df821f758c37dce41fbef0d20932909332619f04

V4L/DVB (3324): Fix Samsung tuner frequency ranges

Forgot to take the NTSC frequency offset into account.

Signed-off-by: Hans Verkuil <hverkuil@xxxxxxxxx>
Signed-off-by: Mauro Carvalho Chehab <mchehab@xxxxxxxxxxxxx>
Signed-off-by: Michael Krufky <mkrufky@xxxxxxxxxxx>
---

--- linux-2.6.16.orig/drivers/media/video/tuner-types.c
+++ linux-2.6.16/drivers/media/video/tuner-types.c
@@ -1087,8 +1087,8 @@
/* ------------ TUNER_SAMSUNG_TCPN_2121P30A - Samsung NTSC ------------ */

static struct tuner_range tuner_samsung_tcpn_2121p30a_ntsc_ranges[] = {
- { 16 * 175.75 /*MHz*/, 0x01, },
- { 16 * 410.25 /*MHz*/, 0x02, },
+ { 16 * 130.00 /*MHz*/, 0x01, },
+ { 16 * 364.50 /*MHz*/, 0x02, },
{ 16 * 999.99 , 0x08, },
};