From de209db4610dd1d52d4eeb5a3f8d08b796511f42 Mon Sep 17 00:00:00 2001 From: Andrew de Quincy Date: Sat, 18 Dec 2004 21:50:26 +0000 Subject: Added reset in to tuning to re-tuning works --- linux/drivers/media/dvb/frontends/stv0297.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'linux/drivers/media') 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 */ -- cgit v1.2.3