Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 21163565 authored by Dan Carpenter's avatar Dan Carpenter Committed by Mauro Carvalho Chehab
Browse files

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: default avatarDan Carpenter <error27@gmail.com>
Signed-off-by: default avatarMatthias Schwarzott <zzam@gentoo.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 3557aa4f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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__);