aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video
diff options
context:
space:
mode:
authorMichael Krufky <mkrufky@linuxtv.org>2008-01-02 23:17:45 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 16:04:37 -0500
commit2ba65d517b91ebb30f4f2a88f1e1beeabd8d8ee6 (patch)
treeb19f9930f28914d4a0cf23e9e72cea87872001db /drivers/media/video
parentf21e0d7f0513e743b14df3197fdeeb9a9b7edbb2 (diff)
V4L/DVB (6963): tda18271: store IF frequency in a u16 instead of u32
Store IF Frequency in a u16 instead of a u32. Multiply by 1000 before use. Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video')
-rw-r--r--drivers/media/video/cx23885/cx23885-dvb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/cx23885/cx23885-dvb.c b/drivers/media/video/cx23885/cx23885-dvb.c
index 948a7fb7ed06..1b669ee962d0 100644
--- a/drivers/media/video/cx23885/cx23885-dvb.c
+++ b/drivers/media/video/cx23885/cx23885-dvb.c
@@ -184,8 +184,8 @@ static struct tda829x_config tda829x_no_probe = {
184}; 184};
185 185
186static struct tda18271_std_map hauppauge_tda18271_std_map = { 186static struct tda18271_std_map hauppauge_tda18271_std_map = {
187 .atsc_6 = { .if_freq = 5380000, .std_bits = 0x1b }, 187 .atsc_6 = { .if_freq = 5380, .std_bits = 0x1b },
188 .qam_6 = { .if_freq = 4000000, .std_bits = 0x18 }, 188 .qam_6 = { .if_freq = 4000, .std_bits = 0x18 },
189}; 189};
190 190
191static struct tda18271_config hauppauge_tda18271_config = { 191static struct tda18271_config hauppauge_tda18271_config = {