diff options
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/common/tuners/tda827x.c | 7 | ||||
-rw-r--r-- | drivers/media/dvb/firewire/firedtv-fe.c | 6 |
2 files changed, 7 insertions, 6 deletions
diff --git a/drivers/media/common/tuners/tda827x.c b/drivers/media/common/tuners/tda827x.c index e180def0a657..a0d176267470 100644 --- a/drivers/media/common/tuners/tda827x.c +++ b/drivers/media/common/tuners/tda827x.c | |||
@@ -540,9 +540,14 @@ static int tda827xa_set_params(struct dvb_frontend *fe) | |||
540 | } | 540 | } |
541 | tuner_freq = c->frequency; | 541 | tuner_freq = c->frequency; |
542 | 542 | ||
543 | if (fe->ops.info.type == FE_QAM) { | 543 | switch (c->delivery_system) { |
544 | case SYS_DVBC_ANNEX_A: | ||
545 | case SYS_DVBC_ANNEX_C: | ||
544 | dprintk("%s select tda827xa_dvbc\n", __func__); | 546 | dprintk("%s select tda827xa_dvbc\n", __func__); |
545 | frequency_map = tda827xa_dvbc; | 547 | frequency_map = tda827xa_dvbc; |
548 | break; | ||
549 | default: | ||
550 | break; | ||
546 | } | 551 | } |
547 | 552 | ||
548 | i = 0; | 553 | i = 0; |
diff --git a/drivers/media/dvb/firewire/firedtv-fe.c b/drivers/media/dvb/firewire/firedtv-fe.c index 39f5caafd2be..6fe9793b98b3 100644 --- a/drivers/media/dvb/firewire/firedtv-fe.c +++ b/drivers/media/dvb/firewire/firedtv-fe.c | |||
@@ -173,7 +173,6 @@ void fdtv_frontend_init(struct firedtv *fdtv, const char *name) | |||
173 | switch (fdtv->type) { | 173 | switch (fdtv->type) { |
174 | case FIREDTV_DVB_S: | 174 | case FIREDTV_DVB_S: |
175 | ops->delsys[0] = SYS_DVBS; | 175 | ops->delsys[0] = SYS_DVBS; |
176 | fi->type = FE_QPSK; | ||
177 | 176 | ||
178 | fi->frequency_min = 950000; | 177 | fi->frequency_min = 950000; |
179 | fi->frequency_max = 2150000; | 178 | fi->frequency_max = 2150000; |
@@ -193,8 +192,7 @@ void fdtv_frontend_init(struct firedtv *fdtv, const char *name) | |||
193 | 192 | ||
194 | case FIREDTV_DVB_S2: | 193 | case FIREDTV_DVB_S2: |
195 | ops->delsys[0] = SYS_DVBS; | 194 | ops->delsys[0] = SYS_DVBS; |
196 | ops->delsys[1] = SYS_DVBS; | 195 | ops->delsys[1] = SYS_DVBS2; |
197 | fi->type = FE_QPSK; | ||
198 | 196 | ||
199 | fi->frequency_min = 950000; | 197 | fi->frequency_min = 950000; |
200 | fi->frequency_max = 2150000; | 198 | fi->frequency_max = 2150000; |
@@ -215,7 +213,6 @@ void fdtv_frontend_init(struct firedtv *fdtv, const char *name) | |||
215 | 213 | ||
216 | case FIREDTV_DVB_C: | 214 | case FIREDTV_DVB_C: |
217 | ops->delsys[0] = SYS_DVBC_ANNEX_A; | 215 | ops->delsys[0] = SYS_DVBC_ANNEX_A; |
218 | fi->type = FE_QAM; | ||
219 | 216 | ||
220 | fi->frequency_min = 47000000; | 217 | fi->frequency_min = 47000000; |
221 | fi->frequency_max = 866000000; | 218 | fi->frequency_max = 866000000; |
@@ -234,7 +231,6 @@ void fdtv_frontend_init(struct firedtv *fdtv, const char *name) | |||
234 | 231 | ||
235 | case FIREDTV_DVB_T: | 232 | case FIREDTV_DVB_T: |
236 | ops->delsys[0] = SYS_DVBT; | 233 | ops->delsys[0] = SYS_DVBT; |
237 | fi->type = FE_OFDM; | ||
238 | 234 | ||
239 | fi->frequency_min = 49000000; | 235 | fi->frequency_min = 49000000; |
240 | fi->frequency_max = 861000000; | 236 | fi->frequency_max = 861000000; |