Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 193180
b: refs/heads/master
c: 1df3ab1
h: refs/heads/master
v: v3
  • Loading branch information
Rabin Vincent authored and Ben Dooks committed May 19, 2010
1 parent c909fa5 commit 98479f0
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: a1c27678c0e92ed4aa3ac489ef2f0d80651e18bb
refs/heads/master: 1df3ab1b9128855400d657a515b87894f29f31f3
3 changes: 2 additions & 1 deletion trunk/drivers/i2c/busses/i2c-nomadik.c
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,8 @@ static irqreturn_t i2c_irq_handler(int irq, void *arg)
case I2C_IT_MTD:
case I2C_IT_MTDWS:
if (dev->cli.operation == I2C_READ) {
while (!readl(dev->virtbase + I2C_RISR) & I2C_IT_RXFE) {
while (!(readl(dev->virtbase + I2C_RISR)
& I2C_IT_RXFE)) {
if (dev->cli.count == 0)
break;
*dev->cli.buffer =
Expand Down

0 comments on commit 98479f0

Please sign in to comment.