Skip to content

Commit

Permalink
[media] gspca - sonixj: Fix wrong register mask for sensor om6802
Browse files Browse the repository at this point in the history
The bug was introduced by git commit 0e4d413, giving very dark images.

Signed-off-by: Luiz Carlos Ramos <lramos.prof@yahoo.com.br>
Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Luiz Carlos Ramos authored and Mauro Carvalho Chehab committed Sep 11, 2011
1 parent 55c53e1 commit 313c68e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/video/gspca/sonixj.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 313c68e

Please sign in to comment.