summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Toth <stoth@linuxtv.org>2008-10-03 10:53:18 -0400
committerSteven Toth <stoth@linuxtv.org>2008-10-03 10:53:18 -0400
commit2def42f61166d6585adf788cd75b81052ae4b1c4 (patch)
treeba6900651b0bc6e130d8efdfeba3f7206ecc987e
parent0dce716d8bb66f3d609fa9b509a3102c0a4d589e (diff)
downloadmediapointer-dvb-s2-2def42f61166d6585adf788cd75b81052ae4b1c4.tar.gz
mediapointer-dvb-s2-2def42f61166d6585adf788cd75b81052ae4b1c4.tar.bz2
S2API: Bugfix related to DVB-S / DVB-S2 tuning for the legacy API.
From: Darron Broad <darron@kewl.org> 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. Priority: normal Signed-off-by: Steven Toth <stoth@linuxtv.org> Signed-off-by: Darron Broad <darron@kewl.org>
-rw-r--r--linux/drivers/media/dvb/dvb-core/dvb_frontend.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
index 3e9cbac17..ad479f3e1 100644
--- a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
+++ b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
@@ -970,6 +970,8 @@ void dtv_property_cache_sync(struct dvb_frontend *fe, struct dvb_frontend_parame
switch (fe->ops.info.type) {
case FE_QPSK:
+ c->modulation = QPSK; /* implied for DVB-S in legacy API */
+ c->rolloff = ROLLOFF_35;/* implied for DVB-S */
c->symbol_rate = p->u.qpsk.symbol_rate;
c->fec_inner = p->u.qpsk.fec_inner;
c->delivery_system = SYS_DVBS;