summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
authorTrent Piepho <xyzzy@speakeasy.org>2007-08-11 14:16:37 -0700
committerTrent Piepho <xyzzy@speakeasy.org>2007-08-11 14:16:37 -0700
commit139db8b5ad39ca0672864ad24307defcf0604406 (patch)
treebf9c184960d257af4b8e833b2eb8d338a9fa5fc8 /linux/drivers
parentf350aec4fb68d3cb924607b644a3688d35777fc7 (diff)
downloadmediapointer-dvb-s2-139db8b5ad39ca0672864ad24307defcf0604406.tar.gz
mediapointer-dvb-s2-139db8b5ad39ca0672864ad24307defcf0604406.tar.bz2
dvb-pll: Set minimum and maximum frequency properly
From: Trent Piepho <xyzzy@speakeasy.org> The tuner maximum frequency wasn't being set, while the minimum frequency was set to what the maximum should have been. The recent patch to enforce the limits effectively broken any tuner using dvb-pll. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/dvb/frontends/dvb-pll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/frontends/dvb-pll.c b/linux/drivers/media/dvb/frontends/dvb-pll.c
index ca99e439c..11f7d5939 100644
--- a/linux/drivers/media/dvb/frontends/dvb-pll.c
+++ b/linux/drivers/media/dvb/frontends/dvb-pll.c
@@ -784,7 +784,7 @@ struct dvb_frontend *dvb_pll_attach(struct dvb_frontend *fe, int pll_addr,
strncpy(fe->ops.tuner_ops.info.name, desc->name,
sizeof(fe->ops.tuner_ops.info.name));
fe->ops.tuner_ops.info.frequency_min = desc->min;
- fe->ops.tuner_ops.info.frequency_min = desc->max;
+ fe->ops.tuner_ops.info.frequency_max = desc->max;
if (!desc->initdata)
fe->ops.tuner_ops.init = NULL;
if (!desc->sleepdata)