diff options
author | Brad Love <brad@nextdimension.cc> | 2018-01-12 19:19:39 +0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-03-06 15:25:31 +0300 |
commit | 445877742ce302979fd92bcda1eb372bb708c003 (patch) | |
tree | dd1d897772fc9af8549b42105b336a5deb8dc207 /drivers/media/dvb-frontends/si2168.h | |
parent | 2af04244342f03a4e82f376eea36ebfef82a30af (diff) | |
download | linux-445877742ce302979fd92bcda1eb372bb708c003.tar.xz |
media: si2168: Add ts bus coontrol, turn off bus on sleep
Includes a function to set TS MODE property os si2168. The function
either disables the TS output bus, or sets mode to config option.
When going to sleep the TS bus is turned off, this makes the driver
compatible with multiple frontend usage.
Signed-off-by: Brad Love <brad@nextdimension.cc>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/dvb-frontends/si2168.h')
-rw-r--r-- | drivers/media/dvb-frontends/si2168.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/si2168.h b/drivers/media/dvb-frontends/si2168.h index 3225d0cc93c7..f48f0fb0ad69 100644 --- a/drivers/media/dvb-frontends/si2168.h +++ b/drivers/media/dvb-frontends/si2168.h @@ -38,6 +38,7 @@ struct si2168_config { /* TS mode */ #define SI2168_TS_PARALLEL 0x06 #define SI2168_TS_SERIAL 0x03 +#define SI2168_TS_TRISTATE 0x00 u8 ts_mode; /* TS clock inverted */ |