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

[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 <>
Signed-off-by: default avatarJean-François Moine <>
Signed-off-by: default avatarMauro Carvalho Chehab <>
parent 55c53e1f
......@@ -2386,7 +2386,7 @@ static int sd_start(struct gspca_dev *gspca_dev)
reg_w1(gspca_dev, 0x01, 0x22);
reg01 = SCL_SEL_OD | S_PDN_INV;
reg17 &= MCK_SIZE_MASK;
reg17 &= ~MCK_SIZE_MASK;
reg17 |= 0x04; /* clock / 4 */
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment