diff options
author | Ben Dooks <ben-linux@fluff.org> | 2008-04-15 14:34:44 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-04-15 19:35:41 -0700 |
commit | 4bb5eba06b4bc57e30b0f6336c9907e85c395197 (patch) | |
tree | e471e6c09b5aa148eef724bc7ffd04ec5e59c04e /mm/swap.c | |
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>
Diffstat (limited to 'mm/swap.c')
0 files changed, 0 insertions, 0 deletions