diff options
author | Dan Carpenter <error27@gmail.com> | 2009-12-28 12:48:49 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-02-26 13:10:34 -0500 |
commit | 211635654cb6785a5c102af6488f6b1d83b9a3c6 (patch) | |
tree | c29f0318d7450d370fbddac55f6cf905158c4fc3 /drivers/media/dvb/frontends | |
parent | 3557aa4f7ddaec2903532595d2caccac32a5bbeb (diff) |
V4L/DVB (13956): fix weird array index in zl10036.c
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>
Diffstat (limited to 'drivers/media/dvb/frontends')
-rw-r--r-- | drivers/media/dvb/frontends/zl10036.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/zl10036.c b/drivers/media/dvb/frontends/zl10036.c index 4e814ff22b23..34c5de491d2b 100644 --- a/drivers/media/dvb/frontends/zl10036.c +++ b/drivers/media/dvb/frontends/zl10036.c | |||
@@ -411,7 +411,7 @@ static int zl10036_init_regs(struct zl10036_state *state) | |||
411 | state->bf = 0xff; | 411 | state->bf = 0xff; |
412 | 412 | ||
413 | if (!state->config->rf_loop_enable) | 413 | if (!state->config->rf_loop_enable) |
414 | zl10036_init_tab[1][2] |= 0x01; | 414 | zl10036_init_tab[1][0] |= 0x01; |
415 | 415 | ||
416 | deb_info("%s\n", __func__); | 416 | deb_info("%s\n", __func__); |
417 | 417 | ||