Skip to content

Commit

Permalink
V4L/DVB (13956): fix weird array index in zl10036.c
Browse files Browse the repository at this point in the history
I was initially concerned about the weird array index (the 2 bumps
into the next row of the array).  Matthias Schwarzott look at the
datasheet and it turns out it should be zl10036_init_tab[1][0] |= 0x01;

Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Matthias Schwarzott <zzam@gentoo.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Dan Carpenter authored and Mauro Carvalho Chehab committed Feb 26, 2010
1 parent 3557aa4 commit 2116356
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/dvb/frontends/zl10036.c
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ static int zl10036_init_regs(struct zl10036_state *state)
state->bf = 0xff;

if (!state->config->rf_loop_enable)
zl10036_init_tab[1][2] |= 0x01;
zl10036_init_tab[1][0] |= 0x01;

deb_info("%s\n", __func__);

Expand Down

0 comments on commit 2116356

Please sign in to comment.