diff options
author | Manu Abraham <manu@kromtek.com> | 2006-02-26 15:31:11 +0400 |
---|---|---|
committer | Manu Abraham <manu@kromtek.com> | 2006-02-26 15:31:11 +0400 |
commit | 7e2b371f596e6f4fd7d35c314676ac983a1e5671 (patch) | |
tree | 7df0ba10a2e190439fe017c8bcb32f665e719962 /linux/drivers/media/dvb/frontends/cx24110.c | |
parent | cd06ad7d360e3a4ff73943c2c955108cded4e00f (diff) | |
download | mediapointer-dvb-s2-7e2b371f596e6f4fd7d35c314676ac983a1e5671.tar.gz mediapointer-dvb-s2-7e2b371f596e6f4fd7d35c314676ac983a1e5671.tar.bz2 |
fix broken IF-OUT Relay handling
Thanks to Edgar Toernig
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Diffstat (limited to 'linux/drivers/media/dvb/frontends/cx24110.c')
-rw-r--r-- | linux/drivers/media/dvb/frontends/cx24110.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/linux/drivers/media/dvb/frontends/cx24110.c b/linux/drivers/media/dvb/frontends/cx24110.c index cc68b7e83..f3edf8b51 100644 --- a/linux/drivers/media/dvb/frontends/cx24110.c +++ b/linux/drivers/media/dvb/frontends/cx24110.c @@ -371,6 +371,15 @@ static int cx24110_initfe(struct dvb_frontend* fe) return 0; } +static int cx24110_sleep(struct dvb_frontend *fe) +{ + struct cx24110_state *state = fe->demodulator_priv; + + if (state->config->pll_sleep) + return state->config->pll_sleep(fe); + return 0; +} + static int cx24110_set_voltage (struct dvb_frontend* fe, fe_sec_voltage_t voltage) { struct cx24110_state *state = fe->demodulator_priv; @@ -642,6 +651,7 @@ static struct dvb_frontend_ops cx24110_ops = { .release = cx24110_release, .init = cx24110_initfe, + .sleep = cx24110_sleep, .set_frontend = cx24110_set_frontend, .get_frontend = cx24110_get_frontend, .read_status = cx24110_read_status, |