Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 88352
b: refs/heads/master
c: 4bb5eba
h: refs/heads/master
v: v3
  • Loading branch information
Ben Dooks authored and Linus Torvalds committed Apr 16, 2008
1 parent 977ea2f commit 4f88824
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 335e92e8a515420bd47a6b0f01cb9a206c0ed6e4
refs/heads/master: 4bb5eba06b4bc57e30b0f6336c9907e85c395197
3 changes: 3 additions & 0 deletions trunk/drivers/spi/spi_s3c24xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -192,8 +192,11 @@ static int s3c24xx_spi_txrx(struct spi_device *spi, struct spi_transfer *t)
hw->len = t->len;
hw->count = 0;

init_completion(&hw->done);

/* send the first byte */
writeb(hw_txbyte(hw, 0), hw->regs + S3C2410_SPTDAT);

wait_for_completion(&hw->done);

return hw->count;
Expand Down

0 comments on commit 4f88824

Please sign in to comment.