diff options
author | Antti Palosaari <crope@iki.fi> | 2011-08-04 20:27:19 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-02-28 18:42:23 -0300 |
commit | 0485a7089b8d6c11fe2db1123a1ed39a2676592f (patch) | |
tree | 261da4a1082977e6ea3fdcfd668995764cb3fd98 /drivers/media/dvb/frontends/rtl2830_priv.h | |
parent | 34ec2933485b6b047245ccbb7fa2b3513bed46af (diff) |
[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>
Diffstat (limited to 'drivers/media/dvb/frontends/rtl2830_priv.h')
-rw-r--r-- | drivers/media/dvb/frontends/rtl2830_priv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/rtl2830_priv.h b/drivers/media/dvb/frontends/rtl2830_priv.h index 2bc662ee87a0..49de01dd5e83 100644 --- a/drivers/media/dvb/frontends/rtl2830_priv.h +++ b/drivers/media/dvb/frontends/rtl2830_priv.h @@ -42,6 +42,8 @@ struct rtl2830_priv { struct dvb_frontend fe; struct rtl2830_config cfg; struct i2c_adapter tuner_i2c_adapter; + + u8 page; /* active register page */ }; struct rtl2830_reg_val_mask { |