]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commit50658b6602dad6dc76c226917f5d8cec0f680eab
tree8cf0523b9f6369cb1c80bc8456c70831e428204a
parent5f66d2b58ca879e70740c82422354144845d6dd3
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