summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2008-01-02 23:17:45 -0500
committerMichael Krufky <mkrufky@linuxtv.org>2008-01-02 23:17:45 -0500
commitc7dcfef24d5d5a807a3a2839053bde908c8161b1 (patch)
tree738be0b3c75600f8ccc2b0fa3a1ff631fc38e9ed /linux/drivers/media/video
parent0d0777b5ef6d300bf28e296834ae9189dfbde8f3 (diff)
downloadmediapointer-dvb-s2-c7dcfef24d5d5a807a3a2839053bde908c8161b1.tar.gz
mediapointer-dvb-s2-c7dcfef24d5d5a807a3a2839053bde908c8161b1.tar.bz2
tda18271: store IF frequency in a u16 instead of u32
From: Michael Krufky <mkrufky@linuxtv.org> Store IF Frequency in a u16 instead of a u32. Multiply by 1000 before use. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/video')
-rw-r--r--linux/drivers/media/video/cx23885/cx23885-dvb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/cx23885/cx23885-dvb.c b/linux/drivers/media/video/cx23885/cx23885-dvb.c
index 48b241ec4..84598c514 100644
--- a/linux/drivers/media/video/cx23885/cx23885-dvb.c
+++ b/linux/drivers/media/video/cx23885/cx23885-dvb.c
@@ -185,8 +185,8 @@ static struct tda829x_config tda829x_no_probe = {
};
static struct tda18271_std_map hauppauge_tda18271_std_map = {
- .atsc_6 = { .if_freq = 5380000, .std_bits = 0x1b },
- .qam_6 = { .if_freq = 4000000, .std_bits = 0x18 },
+ .atsc_6 = { .if_freq = 5380, .std_bits = 0x1b },
+ .qam_6 = { .if_freq = 4000, .std_bits = 0x18 },
};
static struct tda18271_config hauppauge_tda18271_config = {