Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 7199
b: refs/heads/master
c: d1b2f0a
h: refs/heads/master
i:
  7197: f42e72c
  7195: bf4d93c
  7191: db16717
  7183: 63394e9
  7167: 4561ccd
v: v3
  • Loading branch information
Jean Delvare authored and Greg Kroah-Hartman committed Sep 5, 2005
1 parent 6bc4748 commit 0463b11
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 8e14d6c173f8fff05a94e62669c87c26141766af
refs/heads/master: d1b2f0a9754d3087ee29b3e88b8f20f2d30090d3
8 changes: 4 additions & 4 deletions trunk/drivers/i2c/busses/i2c-mv64xxx.c
Original file line number Diff line number Diff line change
Expand Up @@ -423,13 +423,13 @@ static int
mv64xxx_i2c_xfer(struct i2c_adapter *adap, struct i2c_msg msgs[], int num)
{
struct mv64xxx_i2c_data *drv_data = i2c_get_adapdata(adap);
int i, rc = 0;
int i, rc;

for (i=0; i<num; i++)
if ((rc = mv64xxx_i2c_execute_msg(drv_data, &msgs[i])) != 0)
break;
if ((rc = mv64xxx_i2c_execute_msg(drv_data, &msgs[i])) < 0)
return rc;

return rc;
return num;
}

static struct i2c_algorithm mv64xxx_i2c_algo = {
Expand Down

0 comments on commit 0463b11

Please sign in to comment.