diff options
author | Darron Broad <darron@kewl.org> | 2008-10-03 10:53:18 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-10-13 10:25:22 -0400 |
commit | e5cefa82ce31b14574947e570d638a6d58225338 (patch) | |
tree | cad60fee524e5fabc1c1722e9d91755e578acda3 /drivers/media/dvb | |
parent | 4aae8efb4908fa3f80dc1177d093443bc09adf5f (diff) |
V4L/DVB (9172): S2API: Bugfix related to DVB-S / DVB-S2 tuning for the legacy API.
Fixes switching from S2API to legacy where legacy params given to S2API
aware demods are cached ones and not those implied in the legacy API.
It was found (on an S2API aware demod at least) that after using
an S2API aware application and then switching to a legacy application
that prior S2API params were in effect were legacy has only
implied values. This fixes this.
Signed-off-by: Darron Broad <darron@kewl.org>
Signed-off-by: Steven Toth <stoth@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb')
-rw-r--r-- | drivers/media/dvb/dvb-core/dvb_frontend.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/dvb/dvb-core/dvb_frontend.c b/drivers/media/dvb/dvb-core/dvb_frontend.c index f44b64b8e614..ff8cda0ac333 100644 --- a/drivers/media/dvb/dvb-core/dvb_frontend.c +++ b/drivers/media/dvb/dvb-core/dvb_frontend.c | |||
@@ -900,6 +900,8 @@ void dtv_property_cache_sync(struct dvb_frontend *fe, struct dvb_frontend_parame | |||
900 | 900 | ||
901 | switch (fe->ops.info.type) { | 901 | switch (fe->ops.info.type) { |
902 | case FE_QPSK: | 902 | case FE_QPSK: |
903 | c->modulation = QPSK; /* implied for DVB-S in legacy API */ | ||
904 | c->rolloff = ROLLOFF_35;/* implied for DVB-S */ | ||
903 | c->symbol_rate = p->u.qpsk.symbol_rate; | 905 | c->symbol_rate = p->u.qpsk.symbol_rate; |
904 | c->fec_inner = p->u.qpsk.fec_inner; | 906 | c->fec_inner = p->u.qpsk.fec_inner; |
905 | c->delivery_system = SYS_DVBS; | 907 | c->delivery_system = SYS_DVBS; |