]> 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)
commite898640ed91360b471fbe4841260d82dc314ab98
tree6105b22edb6663b0dd699a672a48fe5f59002364
parent66a80604c358d78204e11ff7f1406dc57545caf6
[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