Skip to content

Commit

Permalink
V4L/DVB (4955): Fix autosearch index
Browse files Browse the repository at this point in the history
After rewriting the driver the wrong autosearch index was used when
COFDM-parameter needed to be detected.
Thanks to Mario Rossi who found it.

Signed-off-by: Mario Rossi <mariofutire@googlemail.com>
Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Mario Rossi authored and Mauro Carvalho Chehab committed Dec 27, 2006
1 parent 3bf8ba3 commit a821e99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/dvb/frontends/dib3000mc.c
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ static int dib3000mc_autosearch_start(struct dvb_frontend *demod, struct dibx000
fchan.vit_alpha = 1; fchan.vit_code_rate_hp = 2; fchan.vit_code_rate_lp = 2;
fchan.vit_hrch = 0; fchan.vit_select_hp = 1;

dib3000mc_set_channel_cfg(state, &fchan, 7);
dib3000mc_set_channel_cfg(state, &fchan, 11);

reg = dib3000mc_read_word(state, 0);
dib3000mc_write_word(state, 0, reg | (1 << 8));
Expand Down

0 comments on commit a821e99

Please sign in to comment.