summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends/tda10023.c
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2008-06-10 01:53:04 +0300
committerAntti Palosaari <crope@iki.fi>2008-06-10 01:53:04 +0300
commitd564aaaf0fba795bc0a5e53ece70b457acee5334 (patch)
tree51e42f946aecf22729c6a00571cf46afe3392610 /linux/drivers/media/dvb/frontends/tda10023.c
parent95794f4c84d596665603358eee57c93b0058e626 (diff)
downloadmediapointer-dvb-s2-d564aaaf0fba795bc0a5e53ece70b457acee5334.tar.gz
mediapointer-dvb-s2-d564aaaf0fba795bc0a5e53ece70b457acee5334.tar.bz2
TDA10023: make TS output mode configurable
From: Antti Palosaari <crope@iki.fi> - make TS output mode configurable Signed-off-by: Antti Palosaari <crope@iki.fi>
Diffstat (limited to 'linux/drivers/media/dvb/frontends/tda10023.c')
-rw-r--r--linux/drivers/media/dvb/frontends/tda10023.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/linux/drivers/media/dvb/frontends/tda10023.c b/linux/drivers/media/dvb/frontends/tda10023.c
index 82d6cb5b8..ec9d772c4 100644
--- a/linux/drivers/media/dvb/frontends/tda10023.c
+++ b/linux/drivers/media/dvb/frontends/tda10023.c
@@ -269,7 +269,8 @@ static int tda10023_init (struct dvb_frontend *fe)
/* 084 */ 0x02, 0xff, 0x93, /* AGCCONF1 IFS=1 KAGCIF=2 KAGCTUN=3 */
/* 087 */ 0x2d, 0xff, 0xf6, /* SWEEP SWPOS=1 SWDYN=7 SWSTEP=1 SWLEN=2 */
/* 090 */ 0x04, 0x10, 0x00, /* SWRAMP=1 */
-/* 093 */ 0x12, 0xff, 0xa1, /* INTP1 POCLKP=1 FEL=1 MFS=0 */
+/* 093 */ 0x12, 0xff, TDA10023_OUTPUT_MODE_PARALLEL_B, /*
+ INTP1 POCLKP=1 FEL=1 MFS=0 */
/* 096 */ 0x2b, 0x01, 0xa1, /* INTS1 */
/* 099 */ 0x20, 0xff, 0x04, /* INTP2 SWAPP=? MSBFIRSTP=? INTPSEL=? */
/* 102 */ 0x2c, 0xff, 0x0d, /* INTP/S TRIP=0 TRIS=0 */
@@ -289,6 +290,9 @@ static int tda10023_init (struct dvb_frontend *fe)
tda10023_inittab[83] = (state->config->deltaf >> 8);
}
+ if (state->config->output_mode)
+ tda10023_inittab[95] = state->config->output_mode;
+
tda10023_writetab(state, tda10023_inittab);
return 0;