Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 192781
b: refs/heads/master
c: 85532d1
h: refs/heads/master
i:
  192779: 0d1068f
v: v3
  • Loading branch information
Manu Abraham authored and Mauro Carvalho Chehab committed May 18, 2010
1 parent 42b59db commit 6ba1057
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: c5b74b0f5e81386ca1e9b1128de83502e92fa028
refs/heads/master: 85532d1454dd3df7327d12bf6ca7ef5a00bb1282
8 changes: 7 additions & 1 deletion trunk/drivers/media/dvb/frontends/stv090x.c
Original file line number Diff line number Diff line change
Expand Up @@ -3838,11 +3838,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");

Expand Down

0 comments on commit 6ba1057

Please sign in to comment.