This is a note to let you know that the patch titled
        Subject: V4L/DVB: stv090x: Add some notes about the internal tuner I/O 
control
        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 |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

---

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

diff --git a/drivers/media/dvb/frontends/stv090x.c 
b/drivers/media/dvb/frontends/stv090x.c
index 80b8453..f471995 100644
--- a/drivers/media/dvb/frontends/stv090x.c
+++ b/drivers/media/dvb/frontends/stv090x.c
@@ -757,6 +757,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);
 

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

Reply via email to