Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 138177
b: refs/heads/master
c: c98afbf
h: refs/heads/master
i:
  138175: ce72ddb
v: v3
  • Loading branch information
Philippe Rétornaz authored and Mauro Carvalho Chehab committed Mar 30, 2009
1 parent 7aa1934 commit 7acc61c
Show file tree
Hide file tree
Showing 2 changed files with 3 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: d42574d1d26a17b5c4a3e9d5cbd2e5cacfd550fa
refs/heads/master: c98afbfc20355dd04a7b817b232e06a4c3e73bac
6 changes: 2 additions & 4 deletions trunk/drivers/media/video/mt9t031.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,6 @@ static int mt9t031_init(struct soc_camera_device *icd)
int ret;

/* Disable chip output, synchronous option update */
dev_dbg(icd->vdev->parent, "%s\n", __func__);

ret = reg_write(icd, MT9T031_RESET, 1);
if (ret >= 0)
ret = reg_write(icd, MT9T031_RESET, 0);
Expand Down Expand Up @@ -186,9 +184,9 @@ static int mt9t031_set_bus_param(struct soc_camera_device *icd,
return -EINVAL;

if (flags & SOCAM_PCLK_SAMPLE_FALLING)
reg_set(icd, MT9T031_PIXEL_CLOCK_CONTROL, 0x8000);
else
reg_clear(icd, MT9T031_PIXEL_CLOCK_CONTROL, 0x8000);
else
reg_set(icd, MT9T031_PIXEL_CLOCK_CONTROL, 0x8000);

return 0;
}
Expand Down

0 comments on commit 7acc61c

Please sign in to comment.