aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorPatrick Boettcher <pb@linuxtv.org>2006-08-21 07:21:52 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-09-26 11:30:34 -0400
commitfb6065bbd915f9cf6022d52e114f5078654834b5 (patch)
tree0717716f81a152e7fb0b3429a2c3abe69eb5a7a5 /drivers/media
parent559463bba8b91d36b12f6722dc27440567e4f6be (diff)
V4L/DVB (4530): Another fix for the PID parsing
Still the pid_parse bit was erased. Signed-off-by: Patrick Boettcher <pb@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/dvb/frontends/dib3000mc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/media/dvb/frontends/dib3000mc.c b/drivers/media/dvb/frontends/dib3000mc.c
index 6d61237a450..cc28417fa33 100644
--- a/drivers/media/dvb/frontends/dib3000mc.c
+++ b/drivers/media/dvb/frontends/dib3000mc.c
@@ -169,8 +169,7 @@ static int dib3000mc_set_output_mode(struct dib3000mc_state *state, int mode)
169 u16 outreg = 0; 169 u16 outreg = 0;
170 u16 outmode = 0; 170 u16 outmode = 0;
171 u16 elecout = 1; 171 u16 elecout = 1;
172 u16 smo_reg = (0 << 6) | (0 << 5) | (0 << 3) | (1 << 1) | 0 | 172 u16 smo_reg = dib3000mc_read_word(state, 206) & 0x0010; /* keep the pid_parse bit */
173 (dib3000mc_read_word(state, 206) & 0x0010); /* keep the pid_parse bit */
174 173
175 dprintk("-I- Setting output mode for demod %p to %d\n", 174 dprintk("-I- Setting output mode for demod %p to %d\n",
176 &state->demod, mode); 175 &state->demod, mode);
@@ -198,7 +197,7 @@ static int dib3000mc_set_output_mode(struct dib3000mc_state *state, int mode)
198 P_smo_mode [2;2:1] = 11 197 P_smo_mode [2;2:1] = 11
199 P_smo_ovf_prot [1;0:0] = 0 198 P_smo_ovf_prot [1;0:0] = 0
200 */ 199 */
201 smo_reg = (0 << 6) | (0 << 5) | (0 << 3) |(3 << 1) | 0; 200 smo_reg |= 3 << 1;
202 fifo_threshold = 512; 201 fifo_threshold = 512;
203 outmode = 5; 202 outmode = 5;
204 break; 203 break;