aboutsummaryrefslogtreecommitdiff
path: root/drivers/media/dvb/frontends/stb0899_drv.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb/frontends/stb0899_drv.h')
-rw-r--r--drivers/media/dvb/frontends/stb0899_drv.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/stb0899_drv.h b/drivers/media/dvb/frontends/stb0899_drv.h
index 52c2ce17f85..8cb320643f8 100644
--- a/drivers/media/dvb/frontends/stb0899_drv.h
+++ b/drivers/media/dvb/frontends/stb0899_drv.h
@@ -44,6 +44,12 @@ struct stb0899_s2_reg {
u32 data;
};
+enum stb0899_inversion {
+ IQ_SWAP_OFF = 0,
+ IQ_SWAP_ON,
+ IQ_SWAP_AUTO
+};
+
struct stb0899_config {
const struct stb0899_s1_reg *init_dev;
const struct stb0899_s2_reg *init_s2_demod;
@@ -51,6 +57,8 @@ struct stb0899_config {
const struct stb0899_s2_reg *init_s2_fec;
const struct stb0899_s1_reg *init_tst;
+ enum stb0899_inversion inversion;
+
u32 xtal_freq;
u8 demod_address;
@@ -65,7 +73,7 @@ struct stb0899_config {
u8 data_fifo_mode;
u8 out_rate_comp;
u8 i2c_repeater;
- int inversion;
+// int inversion;
u32 esno_ave;
u32 esno_quant;