diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-04-21 12:24:46 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-04-21 13:41:49 -0700 |
commit | 306c68aaa7c62010428196d309fda30b6bf57710 (patch) | |
tree | 0302de1a38b1c3e0381d546d668e741e39abbfcd /drivers/char/ser_a2232.c | |
parent | dc8c7f8919aeb2d89247bdf302ad68b569a2b1e2 (diff) |
spi: pxa2xx: limit reaches -1
On line 944 the return value of flush() is considered as a boolean,
but limit reaches -1 upon timeout which evaluates to true.
On 540, 594, 720 the same occurs for wait_ssp_rx_stall()
On 536 the same occurs for wait_dma_channel_stop()
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: Eric Miao <eric.miao@marvell.com>
Cc: David Brownell <david-b@pacbell.net>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/ser_a2232.c')
0 files changed, 0 insertions, 0 deletions