]> 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)
commit53560cec43c1226cfcab8a01cf4dfeb91aea3ff4
tree8cf0523b9f6369cb1c80bc8456c70831e428204a
parentf39493e23712643f0aff493e85dd065168f1b153
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