Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 142565
b: refs/heads/master
c: c8fc657
h: refs/heads/master
i:
  142563: 12daf2a
v: v3
  • Loading branch information
Roel Kluin authored and Linus Torvalds committed Apr 7, 2009
1 parent 6b4d804 commit f131929
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: 93b61bddc13d9acf1fe341b39d826e80f3182d1e
refs/heads/master: c8fc657e6a114fadf78fdf8103e289a169c91c5d
3 changes: 2 additions & 1 deletion trunk/drivers/spi/spi_imx.c
Original file line number Diff line number Diff line change
Expand Up @@ -779,7 +779,8 @@ static irqreturn_t interrupt_transfer(struct driver_data *drv_data)

/* Read trailing bytes */
limit = loops_per_jiffy << 1;
while ((read(drv_data) == 0) && limit--);
while ((read(drv_data) == 0) && --limit)
cpu_relax();

if (limit == 0)
dev_err(&drv_data->pdev->dev,
Expand Down

0 comments on commit f131929

Please sign in to comment.