diff options
-rw-r--r-- | drivers/media/video/gspca/sq930x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/gspca/sq930x.c b/drivers/media/video/gspca/sq930x.c index 8032190cd12a..04516b42283a 100644 --- a/drivers/media/video/gspca/sq930x.c +++ b/drivers/media/video/gspca/sq930x.c | |||
@@ -862,7 +862,7 @@ static void setexposure(struct gspca_dev *gspca_dev) | |||
862 | buf[i++] = 0x35; /* reg = global gain */ | 862 | buf[i++] = 0x35; /* reg = global gain */ |
863 | buf[i++] = 0x00; /* val H */ | 863 | buf[i++] = 0x00; /* val H */ |
864 | buf[i++] = sensor->i2c_dum; | 864 | buf[i++] = sensor->i2c_dum; |
865 | buf[i++] = sd->gain; /* val L */ | 865 | buf[i++] = 0x80 + sd->gain / 2; /* val L */ |
866 | buf[i++] = 0x00; | 866 | buf[i++] = 0x00; |
867 | buf[i++] = 0x00; | 867 | buf[i++] = 0x00; |
868 | buf[i++] = 0x00; | 868 | buf[i++] = 0x00; |