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

Commit 313c68e6 authored by Luiz Carlos Ramos's avatar Luiz Carlos Ramos Committed by Mauro Carvalho Chehab
Browse files

[media] gspca - sonixj: Fix wrong register mask for sensor om6802



The bug was introduced by git commit 0e4d413a, giving very dark images.

Signed-off-by: default avatarLuiz Carlos Ramos <lramos.prof@yahoo.com.br>
Signed-off-by: default avatarJean-François Moine <moinejf@free.fr>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 55c53e1f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2386,7 +2386,7 @@ static int sd_start(struct gspca_dev *gspca_dev)
		reg_w1(gspca_dev, 0x01, 0x22);
		msleep(100);
		reg01 = SCL_SEL_OD | S_PDN_INV;
		reg17 &= MCK_SIZE_MASK;
		reg17 &= ~MCK_SIZE_MASK;
		reg17 |= 0x04;		/* clock / 4 */
		break;
	}