]> git.baikalelectronics.ru Git - kernel.git/commit
[media] drxk: pass drxk priv struct instead of I2C adapter to i2c calls
authorMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 29 Jun 2012 17:24:18 +0000 (14:24 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 29 Jun 2012 22:04:12 +0000 (19:04 -0300)
commitb2a09430487e5d184b6df24d0bd045ca240e42d3
tree6105b22edb6663b0dd699a672a48fe5f59002364
parent1efd923c21db654e0ab64e6fcb95d5449cac06bd
[media] drxk: pass drxk priv struct instead of I2C adapter to i2c calls

As it will be using the unlocked version of i2c_transfer during
firmware loads, make sure that the priv state routine will be
used on all I2C calls, in preparation for the next patch that
will implement an exclusive lock mode to be used during firmware
load, at drxk_init.

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