Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 137947
b: refs/heads/master
c: afb1368
h: refs/heads/master
i:
  137945: 4ca7bb3
  137943: 1766d7a
v: v3
  • Loading branch information
Antonio Ospite authored and Mauro Carvalho Chehab committed Mar 30, 2009
1 parent 2ae3ea7 commit fb6812f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f7f41483bec8e8ddf3a6bd905b549d0a8d488fdb
refs/heads/master: afb13683e988707bb6120435926243954e283b3e
6 changes: 6 additions & 0 deletions trunk/drivers/media/video/mt9m111.c
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,8 @@ static int mt9m111_disable(struct soc_camera_device *icd)

static int mt9m111_reset(struct soc_camera_device *icd)
{
struct mt9m111 *mt9m111 = container_of(icd, struct mt9m111, icd);
struct soc_camera_link *icl = mt9m111->client->dev.platform_data;
int ret;

ret = reg_set(RESET, MT9M111_RESET_RESET_MODE);
Expand All @@ -401,6 +403,10 @@ static int mt9m111_reset(struct soc_camera_device *icd)
if (!ret)
ret = reg_clear(RESET, MT9M111_RESET_RESET_MODE
| MT9M111_RESET_RESET_SOC);

if (icl->reset)
icl->reset(&mt9m111->client->dev);

return ret;
}

Expand Down

0 comments on commit fb6812f

Please sign in to comment.