summaryrefslogtreecommitdiff
path: root/linux/drivers/media/common/tuners
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-06-01 22:34:20 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-06-01 22:34:20 -0300
commitb49e742345a086611441cc31b1b0041f1fe7051d (patch)
tree6fdb7d6dd7d30771636dc4e155d5d3d75e17a61c /linux/drivers/media/common/tuners
parent3cfc0ea022a646fa73ba82352c3a95af859c20f6 (diff)
downloadmediapointer-dvb-s2-b49e742345a086611441cc31b1b0041f1fe7051d.tar.gz
mediapointer-dvb-s2-b49e742345a086611441cc31b1b0041f1fe7051d.tar.bz2
tuner-xc3028: fix frequency offset
From: Mauro Carvalho Chehab <mchehab@redhat.com> The last changeset has an else missing, causing wrong frequencies for DTV6. Thanks to Terry Wu <terrywu2009@gmail.com> for pointing the issue. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/common/tuners')
-rw-r--r--linux/drivers/media/common/tuners/tuner-xc2028.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/common/tuners/tuner-xc2028.c b/linux/drivers/media/common/tuners/tuner-xc2028.c
index 493e8d642..c98a628e8 100644
--- a/linux/drivers/media/common/tuners/tuner-xc2028.c
+++ b/linux/drivers/media/common/tuners/tuner-xc2028.c
@@ -932,7 +932,7 @@ static int generic_set_freq(struct dvb_frontend *fe, u32 freq /* in HZ */,
/* Sets the offset according with firmware */
if (priv->cur_fw.type & DTV6)
offset = 1750000;
- if (priv->cur_fw.type & DTV7)
+ else if (priv->cur_fw.type & DTV7)
offset = 2250000;
else /* DTV8 or DTV78 */
offset = 2750000;