Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 208182
b: refs/heads/master
c: 175bad9
h: refs/heads/master
v: v3
  • Loading branch information
Michael Grzeschik authored and Mauro Carvalho Chehab committed Aug 9, 2010
1 parent 6a8cee9 commit ee2b241
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: c8cf078ebd9f9b5ec3a113c8262062799fd9948a
refs/heads/master: 175bad921c75ab3b7d11a9fffc0e8d9a4a179e61
6 changes: 2 additions & 4 deletions trunk/drivers/media/video/mt9m111.c
Original file line number Diff line number Diff line change
Expand Up @@ -969,10 +969,6 @@ static int mt9m111_video_probe(struct soc_camera_device *icd,
mt9m111->swap_rgb_even_odd = 1;
mt9m111->swap_rgb_red_blue = 1;

ret = mt9m111_init(client);
if (ret)
goto ei2c;

data = reg_read(CHIP_VERSION);

switch (data) {
Expand All @@ -993,6 +989,8 @@ static int mt9m111_video_probe(struct soc_camera_device *icd,
goto ei2c;
}

ret = mt9m111_init(client);

ei2c:
return ret;
}
Expand Down

0 comments on commit ee2b241

Please sign in to comment.