[media] r820t: proper lock and set the I2C gate
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 7 Apr 2013 22:32:55 +0000 (19:32 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 17 Apr 2013 00:24:10 +0000 (21:24 -0300)
commit7a5ef30dc3363ae1ab7243397be7dd8449063999
treebb2f1df796de7f2942a6ff1a5e93dedd9daa673a
parent9e30edd8907e5a7e92b04b1d05de5619c4a35d47
[media] r820t: proper lock and set the I2C gate

As this tuner can be used by analog and digital parts of the
driver, be sure that all ops that access the hardware will
be be properly locked.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Tested-by: Antti Palosaari <crope@iki.fi>
drivers/media/tuners/r820t.c