diff options
author | Antti Palosaari <crope@iki.fi> | 2014-02-08 08:03:57 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-03-14 09:35:24 +0100 |
commit | ae1f8453e828c18cf5291aeab53081dca6906f6e (patch) | |
tree | ba79e2d8d725d89296c43f2ca5915cf0f1f9758e /drivers/media/usb/dvb-usb-v2/rtl28xxu.h | |
parent | [media] rtl28xxu: depends on I2C_MUX (diff) | |
download | linux-ae1f8453e828c18cf5291aeab53081dca6906f6e.tar.xz linux-ae1f8453e828c18cf5291aeab53081dca6906f6e.zip |
[media] rtl28xxu: use muxed RTL2832 I2C adapters for E4000 and RTL2832_SDR
RTL2832 driver provides muxed I2C adapters for tuner bus I2C gate
control. Pass those adapters to rtl2832_sdr and e4000 modules in order
to get rid of proprietary DVB .i2c_gate_ctrl() callback use.
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/usb/dvb-usb-v2/rtl28xxu.h')
-rw-r--r-- | drivers/media/usb/dvb-usb-v2/rtl28xxu.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/usb/dvb-usb-v2/rtl28xxu.h b/drivers/media/usb/dvb-usb-v2/rtl28xxu.h index 367aca117d27..a26cab10f382 100644 --- a/drivers/media/usb/dvb-usb-v2/rtl28xxu.h +++ b/drivers/media/usb/dvb-usb-v2/rtl28xxu.h @@ -55,6 +55,7 @@ struct rtl28xxu_priv { u8 tuner; char *tuner_name; u8 page; /* integrated demod active register page */ + struct i2c_adapter *demod_i2c_adapter; bool rc_active; struct i2c_client *client; }; |