Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 333376
b: refs/heads/master
c: baf3d7b
h: refs/heads/master
v: v3
  • Loading branch information
Felipe Balbi authored and Wolfram Sang committed Sep 12, 2012
1 parent 5b0e89b commit b8cffcd
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: d9ebd04d3476634c29ce0feffbc982e1cb25ed80
refs/heads/master: baf3d7b7210c705bf8ca7afb03cd7f0b61d27058
6 changes: 2 additions & 4 deletions trunk/drivers/i2c/busses/i2c-omap.c
Original file line number Diff line number Diff line change
Expand Up @@ -812,8 +812,7 @@ omap_i2c_isr(int this_irq, void *dev_id)
OMAP_I2C_BUFSTAT_REG)
>> 8) & 0x3F;
}
while (num_bytes) {
num_bytes--;
while (num_bytes--) {
w = omap_i2c_read_reg(dev, OMAP_I2C_DATA_REG);
if (dev->buf_len) {
*dev->buf++ = w;
Expand Down Expand Up @@ -855,8 +854,7 @@ omap_i2c_isr(int this_irq, void *dev_id)
OMAP_I2C_BUFSTAT_REG)
& 0x3F;
}
while (num_bytes) {
num_bytes--;
while (num_bytes--) {
w = 0;
if (dev->buf_len) {
w = *dev->buf++;
Expand Down

0 comments on commit b8cffcd

Please sign in to comment.