Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 210632
b: refs/heads/master
c: c3f139b
h: refs/heads/master
v: v3
  • Loading branch information
Jassi Brar authored and Grant Likely committed Sep 8, 2010
1 parent 5a7d71e commit 61460ca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 251ee478f2c877a9a80362e094c542fbac7f5651
refs/heads/master: c3f139b65585a5f29df47b2302ff8dbd9bdad0b0
5 changes: 3 additions & 2 deletions trunk/drivers/spi/spi_s3c64xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -326,10 +326,11 @@ static int wait_for_xfer(struct s3c64xx_spi_driver_data *sdd,
val = msecs_to_jiffies(ms) + 10;
val = wait_for_completion_timeout(&sdd->xfer_completion, val);
} else {
u32 status;
val = msecs_to_loops(ms);
do {
val = readl(regs + S3C64XX_SPI_STATUS);
} while (RX_FIFO_LVL(val, sci) < xfer->len && --val);
status = readl(regs + S3C64XX_SPI_STATUS);
} while (RX_FIFO_LVL(status, sci) < xfer->len && --val);
}

if (!val)
Expand Down

0 comments on commit 61460ca

Please sign in to comment.