Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 98860
b: refs/heads/master
c: bca5c2c
h: refs/heads/master
v: v3
  • Loading branch information
Andres Salomon authored and Linus Torvalds committed Jul 12, 2008
1 parent c157b60 commit 3317c42
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: 05d81d2222beec7b63ac8c1c8cdb5bb4f82c2bad
refs/heads/master: bca5c2c550f16d2dc2d21ffb7b4712bd0a7d32a9
4 changes: 3 additions & 1 deletion trunk/drivers/media/video/ov7670.c
Original file line number Diff line number Diff line change
Expand Up @@ -406,8 +406,10 @@ static int ov7670_read(struct i2c_client *c, unsigned char reg,
int ret;

ret = i2c_smbus_read_byte_data(c, reg);
if (ret >= 0)
if (ret >= 0) {
*value = (unsigned char) ret;
ret = 0;
}
return ret;
}

Expand Down

0 comments on commit 3317c42

Please sign in to comment.