summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew de Quincy <devnull@localhost>2004-02-27 03:32:53 +0000
committerAndrew de Quincy <devnull@localhost>2004-02-27 03:32:53 +0000
commit5d0d0ad2503f470d72fbeb6c7169c32a1e120463 (patch)
treec0db68893b3cc07eef1f2d2a07bf997c8f6b8ae1
parentbf4d949f68c34961e21f94a8de994d7642606034 (diff)
downloadmediapointer-dvb-s2-5d0d0ad2503f470d72fbeb6c7169c32a1e120463.tar.gz
mediapointer-dvb-s2-5d0d0ad2503f470d72fbeb6c7169c32a1e120463.tar.bz2
Reduced maxdrift for QPSK by half, as it was drifting across onto other
channels.
-rw-r--r--linux/drivers/media/dvb/dvb-core/dvb_frontend.c3
-rw-r--r--linux/drivers/media/dvb/dvb-core/dvb_frontend.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
index aab5d41bc..39c167812 100644
--- a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
+++ b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
@@ -369,7 +369,8 @@ static int dvb_frontend_autotune(struct dvb_frontend_data *fe)
switch(fe->info->type) {
case FE_QPSK:
stepsize = fe->parameters.u.qpsk.symbol_rate / 16000;
- maxdrift = fe->parameters.u.qpsk.symbol_rate / 1000;
+ maxdrift = fe->parameters.u.qpsk.symbol_rate / 2000;
+ if (maxdrift < 5000) maxdrift = 5000;
break;
case FE_QAM:
diff --git a/linux/drivers/media/dvb/dvb-core/dvb_frontend.h b/linux/drivers/media/dvb/dvb-core/dvb_frontend.h
index 350b1ea2c..4ab2f6b0c 100644
--- a/linux/drivers/media/dvb/dvb-core/dvb_frontend.h
+++ b/linux/drivers/media/dvb/dvb-core/dvb_frontend.h
@@ -64,7 +64,7 @@ struct dvb_frontend {
#define FE_SLEEP _IO('v', 80)
#define FE_INIT _IO('v', 81)
#define FE_RESET _IO('v', 82)
-#define FE_GETMINDELAY _IO('v', 83)
+#define FE_GETMINDELAY _IOW('v', 83, struct dvb_frontend_parameters)
extern int