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/common/tuners/mt2266.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/common/tuners/mt2266.c')
-rw-r--r-- | drivers/media/common/tuners/mt2266.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/media/common/tuners/mt2266.c b/drivers/media/common/tuners/mt2266.c index 2fb5a60a621c..bca4d75e42d4 100644 --- a/drivers/media/common/tuners/mt2266.c +++ b/drivers/media/common/tuners/mt2266.c | |||
@@ -150,20 +150,18 @@ static int mt2266_set_params(struct dvb_frontend *fe) | |||
150 | case 6000000: | 150 | case 6000000: |
151 | mt2266_writeregs(priv, mt2266_init_6mhz, | 151 | mt2266_writeregs(priv, mt2266_init_6mhz, |
152 | sizeof(mt2266_init_6mhz)); | 152 | sizeof(mt2266_init_6mhz)); |
153 | priv->bandwidth = BANDWIDTH_6_MHZ; | ||
154 | break; | 153 | break; |
155 | case 8000000: | 154 | case 8000000: |
156 | mt2266_writeregs(priv, mt2266_init_8mhz, | 155 | mt2266_writeregs(priv, mt2266_init_8mhz, |
157 | sizeof(mt2266_init_8mhz)); | 156 | sizeof(mt2266_init_8mhz)); |
158 | priv->bandwidth = BANDWIDTH_8_MHZ; | ||
159 | break; | 157 | break; |
160 | case 7000000: | 158 | case 7000000: |
161 | default: | 159 | default: |
162 | mt2266_writeregs(priv, mt2266_init_7mhz, | 160 | mt2266_writeregs(priv, mt2266_init_7mhz, |
163 | sizeof(mt2266_init_7mhz)); | 161 | sizeof(mt2266_init_7mhz)); |
164 | priv->bandwidth = BANDWIDTH_7_MHZ; | ||
165 | break; | 162 | break; |
166 | } | 163 | } |
164 | priv->bandwidth = c->bandwidth_hz; | ||
167 | 165 | ||
168 | if (band == MT2266_VHF && priv->band == MT2266_UHF) { | 166 | if (band == MT2266_VHF && priv->band == MT2266_UHF) { |
169 | dprintk("Switch from UHF to VHF"); | 167 | dprintk("Switch from UHF to VHF"); |