summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--linux/drivers/media/dvb/frontends/stv0297.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/frontends/stv0297.c b/linux/drivers/media/dvb/frontends/stv0297.c
index 92e48114a..e80bff1d2 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, 1, 1);
+ stv0297_writereg_mask(state, 0x80, 1, 1);
return 0;
}
@@ -552,7 +552,7 @@ static int stv0297_set_frontend(struct dvb_frontend *fe, struct dvb_frontend_par
return -EINVAL;
}
- stv0297_reset(fe);
+ stv0297_init(fe);
state->config->pll_set(fe, p);
/* clear software interrupts */