summaryrefslogtreecommitdiff
path: root/linux/drivers/media
diff options
context:
space:
mode:
authorHolger Waechtler <devnull@localhost>2003-01-08 15:30:28 +0000
committerHolger Waechtler <devnull@localhost>2003-01-08 15:30:28 +0000
commit4c26ab98be26ec96099890d896f8c7e03d3c50f6 (patch)
tree200f0695ebc295e2bb342decbc1a4775df7791c6 /linux/drivers/media
parentc5653e2eb0f7096b6f0c7e6275c35fe772b5e04b (diff)
downloadmediapointer-dvb-s2-4c26ab98be26ec96099890d896f8c7e03d3c50f6.tar.gz
mediapointer-dvb-s2-4c26ab98be26ec96099890d896f8c7e03d3c50f6.tar.bz2
apply fix regarding first tune after device open reported by Andrew de Quincey <adq_dvb@lidskialf.net>
Diffstat (limited to 'linux/drivers/media')
-rw-r--r--linux/drivers/media/dvb/dvb-core/dvb_frontend.c4
1 files changed, 2 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 ba870153d..f709a143b 100644
--- a/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
+++ b/linux/drivers/media/dvb/dvb-core/dvb_frontend.c
@@ -300,8 +300,6 @@ int dvb_frontend_set_parameters (struct dvb_frontend_data *fe,
struct dvb_frontend *frontend = &fe->frontend;
int err;
- dvb_bend_frequency (fe, 0);
-
if (first_trial) {
fe->timeout_count = 0;
fe->lost_sync_count = 0;
@@ -313,6 +311,8 @@ int dvb_frontend_set_parameters (struct dvb_frontend_data *fe,
sizeof (struct dvb_frontend_parameters));
}
+ dvb_bend_frequency (fe, 0);
+
dprintk ("%s: f == %i, drift == %i\n",
__FUNCTION__, param->frequency, fe->lnb_drift);