[media] rtl2830: correct I2C functionality
authorAntti Palosaari <crope@iki.fi>
Thu, 4 Aug 2011 23:27:19 +0000 (20:27 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 28 Feb 2012 21:42:23 +0000 (18:42 -0300)
commit0485a7089b8d6c11fe2db1123a1ed39a2676592f
tree261da4a1082977e6ea3fdcfd668995764cb3fd98
parent34ec2933485b6b047245ccbb7fa2b3513bed46af
[media] rtl2830: correct I2C functionality

Implement I2C functionality according to real RTL2830 demod.

Do not send register page in first byte of each I2C write, instead
use logic to set page using own write when needed. Page register is
physical register 0 as generally used.

Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/frontends/rtl2830.c
drivers/media/dvb/frontends/rtl2830_priv.h