summaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends/si2168_priv.h
diff options
context:
space:
mode:
authorBrad Love <brad@nextdimension.cc>2018-01-18 01:31:58 +0300
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2018-03-06 15:40:14 +0300
commitd4c779bc91d1faef76351ccd6d326f729cdfcb1e (patch)
tree7e2bd5d198ef7a78f7bf15b15f2a340f2a9a3385 /drivers/media/dvb-frontends/si2168_priv.h
parenta398e043637a4819a0e96467bfecaabf3224dd62 (diff)
downloadlinux-d4c779bc91d1faef76351ccd6d326f729cdfcb1e.tar.xz
media: si2168: Add spectrum inversion property
Some tuners produce inverted spectrum, but the si2168 is not currently set up to accept it. This adds an optional parameter to set the frontend up to receive inverted spectrum. Parameter is optional and only boards who enable inversion will utilize this. 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_priv.h')
-rw-r--r--drivers/media/dvb-frontends/si2168_priv.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/dvb-frontends/si2168_priv.h b/drivers/media/dvb-frontends/si2168_priv.h
index 3c8746a20038..2d362e162ade 100644
--- a/drivers/media/dvb-frontends/si2168_priv.h
+++ b/drivers/media/dvb-frontends/si2168_priv.h
@@ -48,6 +48,7 @@ struct si2168_dev {
u8 ts_mode;
bool ts_clock_inv;
bool ts_clock_gapped;
+ bool spectral_inversion;
};
/* firmware command struct */