From: Roel Kluin Date: Tue, 21 Apr 2009 19:24:46 +0000 (-0700) Subject: spi: pxa2xx: limit reaches -1 X-Git-Tag: v2.6.30-rc3~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=306c68aaa7c62010428196d309fda30b6bf57710;p=pandora-kernel.git 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 Acked-by: Eric Miao Cc: David Brownell Cc: Russell King Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed