commit | 4bb5eba06b4bc57e30b0f6336c9907e85c395197 | [log] [tgz] |
---|---|---|
author | Ben Dooks <ben-linux@fluff.org> | Tue Apr 15 14:34:44 2008 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Apr 15 19:35:41 2008 -0700 |
tree | e471e6c09b5aa148eef724bc7ffd04ec5e59c04e | |
parent | 335e92e8a515420bd47a6b0f01cb9a206c0ed6e4 [diff] |
spi: spi_s3c24xx driver must init completion The s3c24xx_spi_txrx() function should initialise the completion each time before using it, otherwise we end up with the possibility of returning success before the interrupt handler has processed all the data. Signed-off-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>