aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/frontends/dibx000_common.h
diff options
context:
space:
mode:
authorPatrick Boettcher <pb@linuxtv.org>2008-01-25 05:31:58 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 16:05:20 -0500
commit904a82e3e27b57a2518f7575c0cab9b6aaddc422 (patch)
tree653a54a9e47197f5cad1fda031796e7c4142522a /drivers/media/dvb/frontends/dibx000_common.h
parent3cb2c39ded029b8572cf7625b8042e9984d63c2c (diff)
V4L/DVB (7074): DiB7000P: correct tuning problem for 7MHz channel
Tuning problem for 7Mhz channels fixes Signed-off-by: Patrick Boettcher <pb@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/frontends/dibx000_common.h')
-rw-r--r--drivers/media/dvb/frontends/dibx000_common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/dibx000_common.h b/drivers/media/dvb/frontends/dibx000_common.h
index 5e17275afd25..84e4d5362922 100644
--- a/drivers/media/dvb/frontends/dibx000_common.h
+++ b/drivers/media/dvb/frontends/dibx000_common.h
@@ -128,6 +128,11 @@ enum dibx000_adc_states {
128 (v) == BANDWIDTH_7_MHZ ? 7000 : \ 128 (v) == BANDWIDTH_7_MHZ ? 7000 : \
129 (v) == BANDWIDTH_6_MHZ ? 6000 : 8000 ) 129 (v) == BANDWIDTH_6_MHZ ? 6000 : 8000 )
130 130
131#define BANDWIDTH_TO_INDEX(v) ( \
132 (v) == 8000 ? BANDWIDTH_8_MHZ : \
133 (v) == 7000 ? BANDWIDTH_7_MHZ : \
134 (v) == 6000 ? BANDWIDTH_6_MHZ : BANDWIDTH_8_MHZ )
135
131/* Chip output mode. */ 136/* Chip output mode. */
132#define OUTMODE_HIGH_Z 0 137#define OUTMODE_HIGH_Z 0
133#define OUTMODE_MPEG2_PAR_GATED_CLK 1 138#define OUTMODE_MPEG2_PAR_GATED_CLK 1