summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew de Quincy <devnull@localhost>2004-12-18 21:50:26 +0000
committerAndrew de Quincy <devnull@localhost>2004-12-18 21:50:26 +0000
commitde209db4610dd1d52d4eeb5a3f8d08b796511f42 (patch)
treedaf239b724310de04f5022464bbf64a74af79cf2
parent0a113d9b4ccf8b1b599ca5b7e893b8aa843649f1 (diff)
downloadmediapointer-dvb-s2-de209db4610dd1d52d4eeb5a3f8d08b796511f42.tar.gz
mediapointer-dvb-s2-de209db4610dd1d52d4eeb5a3f8d08b796511f42.tar.bz2
Added reset in to tuning to re-tuning works
-rw-r--r--linux/drivers/media/dvb/frontends/stv0297.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/frontends/stv0297.c b/linux/drivers/media/dvb/frontends/stv0297.c
index fac532694..92e48114a 100644
--- a/linux/drivers/media/dvb/frontends/stv0297.c
+++ b/linux/drivers/media/dvb/frontends/stv0297.c
@@ -433,7 +433,7 @@ static int stv0297_sleep(struct dvb_frontend *fe)
{
struct stv0297_state *state = (struct stv0297_state *) fe->demodulator_priv;
- stv0297_writereg_mask(state, 0x80, 1, 1);
+ stv0297_writereg_mask(state, 1, 1);
return 0;
}
@@ -552,6 +552,7 @@ static int stv0297_set_frontend(struct dvb_frontend *fe, struct dvb_frontend_par
return -EINVAL;
}
+ stv0297_reset(fe);
state->config->pll_set(fe, p);
/* clear software interrupts */