summaryrefslogtreecommitdiff
path: root/linux/drivers
diff options
context:
space:
mode:
authorManu Abraham <manu@linuxtv.org>2007-07-02 16:08:23 +0400
committerManu Abraham <manu@linuxtv.org>2007-07-02 16:08:23 +0400
commit3166bbf2b298996f42905cb7821ce91ef99ed1ff (patch)
treea1204c427b7905a558e61fe9eb031d215e1967c0 /linux/drivers
parente0bb0f04b51e3c228e90443b11880cdbdbfc08d4 (diff)
downloadmediapointer-dvb-s2-3166bbf2b298996f42905cb7821ce91ef99ed1ff.tar.gz
mediapointer-dvb-s2-3166bbf2b298996f42905cb7821ce91ef99ed1ff.tar.bz2
Let's neither sleep nor wakeup for now
From: Manu Abraham <abraham.manu@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org>
Diffstat (limited to 'linux/drivers')
-rw-r--r--linux/drivers/media/dvb/frontends/stb0899_drv.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/frontends/stb0899_drv.c b/linux/drivers/media/dvb/frontends/stb0899_drv.c
index d49263772..85fca73ae 100644
--- a/linux/drivers/media/dvb/frontends/stb0899_drv.c
+++ b/linux/drivers/media/dvb/frontends/stb0899_drv.c
@@ -875,11 +875,11 @@ static int stb0899_sleep(struct dvb_frontend *fe)
u8 reg;
dprintk(verbose, FE_DEBUG, 1, "Going to Sleep .. (Really tired .. :-))");
-
+#if 0
reg = stb0899_read_reg(state, STB0899_SYNTCTRL);
STB0899_SETFIELD_VAL(STANDBY, reg, 1);
stb0899_write_reg(state, STB0899_SYNTCTRL, reg);
-
+#endif
return 0;
}
@@ -888,6 +888,7 @@ static int stb0899_wakeup(struct dvb_frontend *fe)
int rc;
struct stb0899_state *state = fe->demodulator_priv;
+#if 0
if ((rc = stb0899_write_reg(state, STB0899_SYNTCTRL, STB0899_SELOSCI)))
return rc;
/* Activate all clocks; DVB-S2 registers are inaccessible otherwise. */
@@ -895,6 +896,7 @@ static int stb0899_wakeup(struct dvb_frontend *fe)
return rc;
if ((rc = stb0899_write_reg(state, STB0899_STOPCLK2, 0x00)))
return rc;
+#endif
return 0;
}