diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-06-01 22:34:20 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-06-01 22:34:20 -0300 |
commit | b49e742345a086611441cc31b1b0041f1fe7051d (patch) | |
tree | 6fdb7d6dd7d30771636dc4e155d5d3d75e17a61c /linux/drivers/media/common/tuners | |
parent | 3cfc0ea022a646fa73ba82352c3a95af859c20f6 (diff) | |
download | mediapointer-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.c | 2 |
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; |