diff options
author | Kevin Cheng <kcheng@gmail.com> | 2017-01-10 06:14:18 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-02-03 18:45:48 +0300 |
commit | 4f75189024f4186a7ff9d56f4a8cb690774412ec (patch) | |
tree | 7023ebf8f567c73a1bc387a85652bf2975e5a107 /drivers/media/dvb-frontends/lgdt3306a.h | |
parent | 3f7060887294339eaa60e3399cf7ff4d36620395 (diff) | |
download | linux-4f75189024f4186a7ff9d56f4a8cb690774412ec.tar.xz |
[media] lgdt3306a: support i2c mux for use by em28xx
Adds an i2c mux to the lgdt3306a demodulator. This was done to support
the Hauppauge WinTV-dualHD 01595 USB TV tuner (em28xx), which utilizes two
si2157 tuners behind gate control.
Signed-off-by: Kevin Cheng <kcheng@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/dvb-frontends/lgdt3306a.h')
-rw-r--r-- | drivers/media/dvb-frontends/lgdt3306a.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/lgdt3306a.h b/drivers/media/dvb-frontends/lgdt3306a.h index 9dbb2dced1fe..6ce337ec5272 100644 --- a/drivers/media/dvb-frontends/lgdt3306a.h +++ b/drivers/media/dvb-frontends/lgdt3306a.h @@ -56,6 +56,10 @@ struct lgdt3306a_config { /* demod clock freq in MHz; 24 or 25 supported */ int xtalMHz; + + /* returned by driver if using i2c bus multiplexing */ + struct dvb_frontend **fe; + struct i2c_adapter **i2c_adapter; }; #if IS_REACHABLE(CONFIG_DVB_LGDT3306A) |