summaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb-frontends/lgdt3306a.h
diff options
context:
space:
mode:
authorKevin Cheng2017-01-10 04:14:18 +0100
committerMauro Carvalho Chehab2017-02-03 16:45:48 +0100
commit4f75189024f4186a7ff9d56f4a8cb690774412ec (patch)
tree7023ebf8f567c73a1bc387a85652bf2975e5a107 /drivers/media/dvb-frontends/lgdt3306a.h
parent[media] media/usbvision: remove ctrl_urb_wq (diff)
downloadkernel-qcow2-linux-4f75189024f4186a7ff9d56f4a8cb690774412ec.tar.gz
kernel-qcow2-linux-4f75189024f4186a7ff9d56f4a8cb690774412ec.tar.xz
kernel-qcow2-linux-4f75189024f4186a7ff9d56f4a8cb690774412ec.zip
[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.h4
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)