Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 241890
b: refs/heads/master
c: 76fafe7
h: refs/heads/master
v: v3
  • Loading branch information
Hans de Goede authored and Mauro Carvalho Chehab committed Mar 21, 2011
1 parent 69b99a6 commit 29d7ecb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 49b61ec9b5afdb739e07bc085ed12678bc932a22
refs/heads/master: 76fafe78df9e4062b9b6595f3225a2c0c2847ae5
6 changes: 3 additions & 3 deletions trunk/drivers/media/video/gspca/cpia1.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* cpia CPiA (1) gspca driver
*
* Copyright (C) 2010 Hans de Goede <hdegoede@redhat.com>
* Copyright (C) 2010-2011 Hans de Goede <hdegoede@redhat.com>
*
* This module is adapted from the in kernel v4l1 cpia driver which is :
*
Expand Down Expand Up @@ -1400,7 +1400,7 @@ static void monitor_exposure(struct gspca_dev *gspca_dev)
if ((sd->exposure_status == EXPOSURE_VERY_DARK ||
sd->exposure_status == EXPOSURE_DARK) &&
sd->exposure_count >= DARK_TIME * framerate &&
sd->params.sensorFps.divisor < 3) {
sd->params.sensorFps.divisor < 2) {

/* dark for too long */
++sd->params.sensorFps.divisor;
Expand Down Expand Up @@ -1456,7 +1456,7 @@ static void monitor_exposure(struct gspca_dev *gspca_dev)
if ((sd->exposure_status == EXPOSURE_VERY_DARK ||
sd->exposure_status == EXPOSURE_DARK) &&
sd->exposure_count >= DARK_TIME * framerate &&
sd->params.sensorFps.divisor < 3) {
sd->params.sensorFps.divisor < 2) {

/* dark for too long */
++sd->params.sensorFps.divisor;
Expand Down

0 comments on commit 29d7ecb

Please sign in to comment.