aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/dvb-frontends/si2168_priv.h
diff options
context:
space:
mode:
authorGravatar Brad Love <brad@nextdimension.cc> 2018-01-17 17:31:58 -0500
committerGravatar Mauro Carvalho Chehab <mchehab@s-opensource.com> 2018-03-06 07:40:14 -0500
commitd4c779bc91d1faef76351ccd6d326f729cdfcb1e (patch)
tree7e2bd5d198ef7a78f7bf15b15f2a340f2a9a3385 /drivers/media/dvb-frontends/si2168_priv.h
parentmedia: s3c-camif: fix out-of-bounds array access (diff)
downloadlinux-d4c779bc91d1faef76351ccd6d326f729cdfcb1e.tar.gz
linux-d4c779bc91d1faef76351ccd6d326f729cdfcb1e.tar.bz2
linux-d4c779bc91d1faef76351ccd6d326f729cdfcb1e.zip
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 */