diff options
author | Luiz Carlos Ramos <lramos.prof@yahoo.com.br> | 2011-08-09 14:36:57 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-09-11 09:33:37 -0300 |
commit | 313c68e644326e88731f03371baa8b5f3d68ef11 (patch) | |
tree | 76d1489be73124616a95688384e7ce81c61f8790 /drivers/media/video | |
parent | 55c53e1f24d46fd20e74d3a5089ed9f6e0e9ab14 (diff) | |
download | op-kernel-dev-313c68e644326e88731f03371baa8b5f3d68ef11.zip op-kernel-dev-313c68e644326e88731f03371baa8b5f3d68ef11.tar.gz |
[media] gspca - sonixj: Fix wrong register mask for sensor om6802
The bug was introduced by git commit 0e4d413af1a9d, 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>
Diffstat (limited to 'drivers/media/video')
-rw-r--r-- | drivers/media/video/gspca/sonixj.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/sonixj.c b/drivers/media/video/gspca/sonixj.c index 81b8a60..2ad757d 100644 --- a/drivers/media/video/gspca/sonixj.c +++ b/drivers/media/video/gspca/sonixj.c @@ -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; } |