OSDN Git Service

[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)
commit2a5f6720ff45e7545c3058bc6bfdb498247b4f5c
tree6105b22edb6663b0dd699a672a48fe5f59002364
parent177bc7dade38b5bd02dbcd008f92135b2c7a92b6
[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