Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 192865
b: refs/heads/master
c: 380de49
h: refs/heads/master
i:
  192863: e4d1429
v: v3
  • Loading branch information
Jonathan Corbet authored and Mauro Carvalho Chehab committed May 18, 2010
1 parent 279b683 commit 4c5054a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 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: a8e68c37c846236499ac05e95af76dff2e9aa1eb
refs/heads/master: 380de498e264cca27d19deafe4dc44f624820d09
7 changes: 3 additions & 4 deletions trunk/drivers/media/video/ov7670.c
Original file line number Diff line number Diff line change
Expand Up @@ -874,8 +874,7 @@ static int ov7670_s_parm(struct v4l2_subdev *sd, struct v4l2_streamparm *parms)
struct v4l2_captureparm *cp = &parms->parm.capture;
struct v4l2_fract *tpf = &cp->timeperframe;
struct ov7670_info *info = to_state(sd);
unsigned char clkrc;
int ret, div;
int div;

if (parms->type != V4L2_BUF_TYPE_VIDEO_CAPTURE)
return -EINVAL;
Expand Down Expand Up @@ -1281,9 +1280,9 @@ static int ov7670_g_autoexp(struct v4l2_subdev *sd, __s32 *value)

ret = ov7670_read(sd, REG_COM8, &com8);
if (com8 & COM8_AEC)
*value = V4L2_EXPOSURE_AUTO;
*atype = V4L2_EXPOSURE_AUTO;
else
*value = V4L2_EXPOSURE_MANUAL;
*atype = V4L2_EXPOSURE_MANUAL;
return ret;
}

Expand Down

0 comments on commit 4c5054a

Please sign in to comment.