aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca
diff options
context:
space:
mode:
authorJean-François Moine <moinejf@free.fr>2011-03-22 05:09:49 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-03-22 15:38:25 -0400
commit8e3c08bb41145bd8507397f63937759500c12a04 (patch)
treebac86cf4d8a22ddc426bea20cb7e2ddfc4cc1d25 /drivers/media/video/gspca
parent088fc390bd2d6af547043b4579bf52d1c163c702 (diff)
[media] gspca - nw80x: Fix exposure for some webcams
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/gspca')
-rw-r--r--drivers/media/video/gspca/nw80x.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/media/video/gspca/nw80x.c b/drivers/media/video/gspca/nw80x.c
index b6d7c8dbb94..8e754fd4dc5 100644
--- a/drivers/media/video/gspca/nw80x.c
+++ b/drivers/media/video/gspca/nw80x.c
@@ -1700,6 +1700,9 @@ static void setexposure(struct gspca_dev *gspca_dev)
1700 v[0] = ((9 - val) << 3) | 0x01; 1700 v[0] = ((9 - val) << 3) | 0x01;
1701 reg_w(gspca_dev, 0x1019, v, 1); 1701 reg_w(gspca_dev, 0x1019, v, 1);
1702 break; 1702 break;
1703 case Cvideopro:
1704 case DvcV6:
1705 case Kritter:
1703 case Kr651us: 1706 case Kr651us:
1704 v[0] = val; 1707 v[0] = val;
1705 v[1] = val >> 8; 1708 v[1] = val >> 8;