spi/pl022: timeout on polled transfer v2
authorMagnus Templing <magnus.templing@stericsson.com>
Thu, 19 May 2011 16:05:34 +0000 (18:05 +0200)
committerGrant Likely <grant.likely@secretlab.ca>
Fri, 20 May 2011 06:43:07 +0000 (00:43 -0600)
commita18c266f8e43004c85c56b4077f6158fcadb7707
tree9a1114717a81abc23a17449fd682ae24020dd1ba
parent78fab4c04c76b8c9327541bd270f82b85b42bbf7
spi/pl022: timeout on polled transfer v2

This adds the missing handling of polling timeouts and deletes
our last todo.

Signed-off-by: Magnus Templing <magnus.templing@stericsson.com>
Reviewed-by: Srinidhi Kasagar <srinidhi.kasagar@stericsson.com>
[Fixups from review by Wolfram Sang]
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/amba-pl022.c