[media] Fix wrong register mask in gspca/sonixj.c
authorLuiz Ramos <luizzramos@yahoo.com.br>
Fri, 15 Jul 2011 02:08:39 +0000 (23:08 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 7 Aug 2011 12:03:04 +0000 (09:03 -0300)
commitd1520c58eb84ad1ec973a257cd835c948215aab5
tree5e2e7e42175cb26ad0b9f0cbd5a42b282371a03e
parent47a09b082f70502195ee800bb0cd6f311b125c8f
[media] Fix wrong register mask in gspca/sonixj.c

Hello,

When migrating from Slackware 13.1 to 13.37 (kernel 2.6.33.x to
2.6.37.6), there was some sort of regression with the external webcam
installed at the notebook (0x45:6128, SN9C325+OM6802).

In the version 2.6.37.6, the images got *very* dark, making the webcam
almost unusable, unless if used with direct sunlight.

Tracing back what happened, I concluded that changeset 0e4d413af
caused some sort of odd effects - including this - to this specific model.

Signed-off-by: Luiz Carlos Ramos <lramos.prof@yahoo.com.br>
Acked-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/sonixj.c