aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManu Abraham <abraham.manu@gmail.com>2007-07-02 08:08:23 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-29 14:53:14 -0500
commitbb29cc6ffa15bc2c4f2c014a44d995368244e7ba (patch)
tree015fab18bffc2de4344502303b5e67d291e3716e
parent795b72b21a566b9e440e7e8afadcfa76386c1cb2 (diff)
V4L/DVB (9383): Let's neither sleep nor wakeup for now
Signed-off-by: Manu Abraham <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/dvb/frontends/stb0899_drv.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/media/dvb/frontends/stb0899_drv.c b/drivers/media/dvb/frontends/stb0899_drv.c
index 92914c9bc3a6..b8beac76f0e4 100644
--- a/drivers/media/dvb/frontends/stb0899_drv.c
+++ b/drivers/media/dvb/frontends/stb0899_drv.c
@@ -804,11 +804,6 @@ static int stb0899_sleep(struct dvb_frontend *fe)
804 u8 reg; 804 u8 reg;
805 805
806 dprintk(verbose, FE_DEBUG, 1, "Going to Sleep .. (Really tired .. :-))"); 806 dprintk(verbose, FE_DEBUG, 1, "Going to Sleep .. (Really tired .. :-))");
807
808 reg = stb0899_read_reg(state, STB0899_SYNTCTRL);
809 STB0899_SETFIELD_VAL(STANDBY, reg, 1);
810 stb0899_write_reg(state, STB0899_SYNTCTRL, reg);
811
812 return 0; 807 return 0;
813} 808}
814 809
@@ -817,13 +812,6 @@ static int stb0899_wakeup(struct dvb_frontend *fe)
817 int rc; 812 int rc;
818 struct stb0899_state *state = fe->demodulator_priv; 813 struct stb0899_state *state = fe->demodulator_priv;
819 814
820 if ((rc = stb0899_write_reg(state, STB0899_SYNTCTRL, STB0899_SELOSCI)))
821 return rc;
822 /* Activate all clocks; DVB-S2 registers are inaccessible otherwise. */
823 if ((rc = stb0899_write_reg(state, STB0899_STOPCLK1, 0x00)))
824 return rc;
825 if ((rc = stb0899_write_reg(state, STB0899_STOPCLK2, 0x00)))
826 return rc;
827 815
828 return 0; 816 return 0;
829} 817}