aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/dvb-usb-v2/gl861.h
diff options
context:
space:
mode:
authorAkihiro Tsukada <tskd08@gmail.com>2018-06-10 10:45:31 -0400
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-07-30 08:50:25 -0400
commitb30cc07de8a903685441f9770b1b21e1422d2468 (patch)
treec2701116a68777fdaa583d041711dbbe6213b224 /drivers/media/usb/dvb-usb-v2/gl861.h
parentmedia: sii9234: remove unused header (diff)
downloadlinux-dev-b30cc07de8a903685441f9770b1b21e1422d2468.tar.xz
linux-dev-b30cc07de8a903685441f9770b1b21e1422d2468.zip
media: dvb-usb/friio, dvb-usb-v2/gl861: decompose friio and merge with gl861
Friio device contains "gl861" bridge and "tc90522" demod, for which the separate drivers are already in the kernel. But friio driver was monolithic and did not use them, practically copying those features. This patch decomposes friio driver into sub drivers and re-uses existing ones, thus reduces some code. It adds some features to gl861, to support the friio-specific init/config of the devices and implement i2c communications to the tuner via demod with USB vendor requests. [mchehab+samsung@kernel.org: fix merge conflicts] Signed-off-by: Akihiro Tsukada <tskd08@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/usb/dvb-usb-v2/gl861.h')
-rw-r--r--drivers/media/usb/dvb-usb-v2/gl861.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/usb/dvb-usb-v2/gl861.h b/drivers/media/usb/dvb-usb-v2/gl861.h
index b651b857e034..02c00e10748a 100644
--- a/drivers/media/usb/dvb-usb-v2/gl861.h
+++ b/drivers/media/usb/dvb-usb-v2/gl861.h
@@ -9,5 +9,6 @@
#define GL861_REQ_I2C_WRITE 0x01
#define GL861_REQ_I2C_READ 0x02
+#define GL861_REQ_I2C_RAW 0x03
#endif