V4L/DVB (9383): Let's neither sleep nor wakeup for now
authorManu Abraham <abraham.manu@gmail.com>
Mon, 2 Jul 2007 12:08:23 +0000 (09:08 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 29 Dec 2008 19:53:14 +0000 (17:53 -0200)
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/stb0899_drv.c

index 92914c9bc3a68b4c1e42adced0b0e413ee3b6d13..b8beac76f0e471c860b8c7a344306d532cdd390f 100644 (file)
@@ -804,11 +804,6 @@ static int stb0899_sleep(struct dvb_frontend *fe)
        u8 reg;
 
        dprintk(verbose, FE_DEBUG, 1, "Going to Sleep .. (Really tired .. :-))");
-
-       reg = stb0899_read_reg(state, STB0899_SYNTCTRL);
-       STB0899_SETFIELD_VAL(STANDBY, reg, 1);
-       stb0899_write_reg(state, STB0899_SYNTCTRL, reg);
-
        return 0;
 }
 
@@ -817,13 +812,6 @@ static int stb0899_wakeup(struct dvb_frontend *fe)
        int rc;
        struct stb0899_state *state = fe->demodulator_priv;
 
-       if ((rc = stb0899_write_reg(state, STB0899_SYNTCTRL, STB0899_SELOSCI)))
-               return rc;
-       /* Activate all clocks; DVB-S2 registers are inaccessible otherwise. */
-       if ((rc = stb0899_write_reg(state, STB0899_STOPCLK1, 0x00)))
-               return rc;
-       if ((rc = stb0899_write_reg(state, STB0899_STOPCLK2, 0x00)))
-               return rc;
 
        return 0;
 }