This is a note to let you know that the patch titled
        Subject: V4L/DVB: [STV090x] Use gate control, while tuner is being 
accessed
        Author:  Manu Abraham <[email protected]>
Were queued at http://git.linuxtv.org/v4l-dvb.git

Signed-off-by: Manu Abraham <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 drivers/media/dvb/frontends/stv090x.c |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

---

http://git.linuxtv.org/v4l-dvb.git?a=commitdiff;h=1facced62a2469c96da22accba199e9adbd48d73

diff --git a/drivers/media/dvb/frontends/stv090x.c 
b/drivers/media/dvb/frontends/stv090x.c
index dfb0827..a856ca6 100644
--- a/drivers/media/dvb/frontends/stv090x.c
+++ b/drivers/media/dvb/frontends/stv090x.c
@@ -3837,11 +3837,17 @@ static int stv090x_sleep(struct dvb_frontend *fe)
        struct stv090x_state *state = fe->demodulator_priv;
        u32 reg;
 
-       if (state->config->tuner_init) {
+       if (stv090x_i2c_gate_ctrl(state, 1) < 0)
+               goto err;
+
+       if (state->config->tuner_sleep) {
                if (state->config->tuner_sleep(fe) < 0)
                        goto err_gateoff;
        }
 
+       if (stv090x_i2c_gate_ctrl(state, 0) < 0)
+               goto err;
+
        dprintk(FE_DEBUG, 1, "Set %s to sleep",
                state->device == STV0900 ? "STV0900" : "STV0903");
 

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to