]> git.baikalelectronics.ru Git - kernel.git/commit
spi/pl022: remove function cannot exit
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 2 Aug 2011 09:29:24 +0000 (11:29 +0200)
committerGrant Likely <grant.likely@secretlab.ca>
Tue, 2 Aug 2011 13:54:11 +0000 (14:54 +0100)
commitd3660765fe06ac343ebf55a459c4ef5d94cb2954
tree8cf0523b9f6369cb1c80bc8456c70831e428204a
parent55d944aba6b671d6fef2d3d89f2dea68da71110e
spi/pl022: remove function cannot exit

The remove function in the PL022 driver cannot abort the remove
function any way, so restructure the code so as not to make that
assumption. Remove will now proceed no matter whether it can
stop the transfer queue or not.

Reported-by: Russell King <linux@arm.linux.org.uk>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/spi/spi-pl022.c