Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 261603
b: refs/heads/master
c: 9c56cbf
h: refs/heads/master
i:
  261601: db70afe
  261599: edc0e6a
v: v3
  • Loading branch information
Michael Grzeschik authored and Mauro Carvalho Chehab committed Jul 27, 2011
1 parent 45c01e5 commit 79970cf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: b52a851d9182e8a20704152d537c7e19ed34cc99
refs/heads/master: 9c56cbf9aadff79c25ccd424ae422971efd5c1a4
4 changes: 3 additions & 1 deletion trunk/drivers/media/video/mt9m111.c
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,9 @@ static int mt9m111_reg_clear(struct i2c_client *client, const u16 reg,
int ret;

ret = mt9m111_reg_read(client, reg);
return mt9m111_reg_write(client, reg, ret & ~data);
if (ret >= 0)
ret = mt9m111_reg_write(client, reg, ret & ~data);
return ret;
}

static int mt9m111_set_context(struct mt9m111 *mt9m111,
Expand Down

0 comments on commit 79970cf

Please sign in to comment.