diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-12-26 18:02:28 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-12-31 07:22:49 -0500 |
commit | c6f56e7d794cba022353d464dfa3383d1b3e0125 (patch) | |
tree | 54414d0810e4f465a4107925092f8219695a3341 /drivers/media/dvb/frontends/dvb-pll.c | |
parent | 88ab898f6639ca5a14943a882fbd141afc81fe90 (diff) |
[media] dvb: don't use DVBv3 bandwidth macros
Every frontend now uses DVBv5 way. So, let's not use the DVBv3
macros internally anymore.
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends/dvb-pll.c')
-rw-r--r-- | drivers/media/dvb/frontends/dvb-pll.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/media/dvb/frontends/dvb-pll.c b/drivers/media/dvb/frontends/dvb-pll.c index 978805ed3847..1ab34838221c 100644 --- a/drivers/media/dvb/frontends/dvb-pll.c +++ b/drivers/media/dvb/frontends/dvb-pll.c | |||
@@ -635,12 +635,7 @@ static int dvb_pll_set_params(struct dvb_frontend *fe) | |||
635 | } | 635 | } |
636 | 636 | ||
637 | priv->frequency = frequency; | 637 | priv->frequency = frequency; |
638 | if (c->bandwidth_hz <= 6000000) | 638 | priv->bandwidth = c->bandwidth_hz; |
639 | priv->bandwidth = BANDWIDTH_6_MHZ; | ||
640 | else if (c->bandwidth_hz <= 7000000) | ||
641 | priv->bandwidth = BANDWIDTH_7_MHZ; | ||
642 | if (c->bandwidth_hz <= 8000000) | ||
643 | priv->bandwidth = BANDWIDTH_8_MHZ; | ||
644 | 639 | ||
645 | return 0; | 640 | return 0; |
646 | } | 641 | } |