diff options
-rw-r--r-- | linux/drivers/media/dvb/frontends/stv0297.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/frontends/stv0297.c b/linux/drivers/media/dvb/frontends/stv0297.c index 3e34a3177..1b7a6511d 100644 --- a/linux/drivers/media/dvb/frontends/stv0297.c +++ b/linux/drivers/media/dvb/frontends/stv0297.c @@ -429,6 +429,15 @@ static int stv0297_init(struct dvb_frontend *fe) return 0; } +static int stv0297_sleep(struct dvb_frontend *fe) +{ + struct stv0297_state *state = (struct stv0297_state *) fe->demodulator_priv; + + stv0297_writereg_mask(state, 1, 1); + + return 0; +} + static int stv0297_read_status(struct dvb_frontend *fe, fe_status_t * status) { struct stv0297_state *state = (struct stv0297_state *) fe->demodulator_priv; @@ -791,6 +800,7 @@ static struct dvb_frontend_ops stv0297_ops = { .release = stv0297_release, .init = stv0297_init, + .sleep = stv0297_sleep, .set_frontend = stv0297_set_frontend, .get_frontend = stv0297_get_frontend, |