Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 119042
b: refs/heads/master
c: bff4056
h: refs/heads/master
v: v3
  • Loading branch information
Magnus Damm authored and Paul Mundt committed Nov 13, 2008
1 parent 0bf8a97 commit 0f67842
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 185aed75570fb4f78ef283dfa26cd9da5fa06a91
refs/heads/master: bff4056c8b868a4311d5ebd6cbbf09a2c10f4551
3 changes: 2 additions & 1 deletion trunk/drivers/i2c/busses/i2c-sh_mobile.c
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,8 @@ static int sh_mobile_i2c_isr_rx(struct sh_mobile_i2c_data *pd)
} else
data = i2c_op(pd, OP_RX, 0);

pd->msg->buf[real_pos] = data;
if (real_pos >= 0)
pd->msg->buf[real_pos] = data;
} while (0);

pd->pos++;
Expand Down

0 comments on commit 0f67842

Please sign in to comment.