[media] drxk: Lock I2C bus during firmware load
authorMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 29 Jun 2012 17:43:32 +0000 (14:43 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 29 Jun 2012 22:04:21 +0000 (19:04 -0300)
commit20bfe7ae089076b0af72a6d67f0298621ae90a9d
tree27c5aab38bcc6c34917098004055a0db70b54142
parent2a5f6720ff45e7545c3058bc6bfdb498247b4f5c
[media] drxk: Lock I2C bus during firmware load

Don't allow other devices at the same I2C bus to use it during
firmware load, in order to prevent using the device while it is
not on a sane state.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/drxk_hard.c
drivers/media/dvb/frontends/drxk_hard.h