Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 192783
b: refs/heads/master
c: c8382c8
h: refs/heads/master
i:
  192781: 6ba1057
  192779: 0d1068f
  192775: 4a88fd6
  192767: 09a5654
v: v3
  • Loading branch information
Manu Abraham authored and Mauro Carvalho Chehab committed May 18, 2010
1 parent 72ed083 commit b45a7a2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5817ea0c83665dbc117cb7ca637202da0fb1abce
refs/heads/master: c8382c8e3295a1c85975c1898410f4d103650e4a
9 changes: 9 additions & 0 deletions trunk/drivers/media/dvb/frontends/stv090x.c
Original file line number Diff line number Diff line change
Expand Up @@ -758,6 +758,15 @@ static int stv090x_i2c_gate_ctrl(struct stv090x_state *state, int enable)
{
u32 reg;

/*
* NOTE! A lock is used as a FSM to control the state in which
* access is serialized between two tuners on the same demod.
* This has nothing to do with a lock to protect a critical section
* which may in some other cases be confused with protecting I/O
* access to the demodulator gate.
* In case of any error, the lock is unlocked and exit within the
* relevant operations themselves.
*/
if (enable)
mutex_lock(&state->internal->tuner_lock);

Expand Down

0 comments on commit b45a7a2

Please sign in to comment.