summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/cx24110.c
diff options
context:
space:
mode:
authorManu Abraham <manu@linuxtv.org>2006-02-27 00:09:29 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-02-27 00:09:29 -0300
commite7ac46469c247a931f760354deaed9cf10b75fde (patch)
tree3dd4158a80601bd5aad0160f96f6c33e213f0e9e /drivers/media/dvb/frontends/cx24110.c
parent1e7eb89ba936fc1db54e247a336f3f55bdbc644d (diff)
downloadlinux-e7ac46469c247a931f760354deaed9cf10b75fde.tar.gz
linux-e7ac46469c247a931f760354deaed9cf10b75fde.tar.bz2
linux-e7ac46469c247a931f760354deaed9cf10b75fde.zip
V4L/DVB (3389): Fix broken IF-OUT Relay handling
Fixed broken IF-OUT on pinnacle sat board. Thanks to Edgar Toernig Signed-off-by: Manu Abraham <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/frontends/cx24110.c')
-rw-r--r--drivers/media/dvb/frontends/cx24110.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/cx24110.c b/drivers/media/dvb/frontends/cx24110.c
index cc68b7e83b5e..f3edf8b517dd 100644
--- a/drivers/media/dvb/frontends/cx24110.c
+++ b/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,