From: Florian Fainelli Date: Fri, 20 Apr 2012 13:37:33 +0000 (+0200) Subject: spi/bcm63xx: convert to the pump message infrastructure X-Git-Tag: v3.4-rc5~12^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cde4384e1037c15e5dd04c68d19c75798b6281dd;p=pandora-kernel.git spi/bcm63xx: convert to the pump message infrastructure This patch converts the bcm63xx SPI driver to use the SPI infrastructure pump message queue. Since we were previously sleeping in the SPI driver's transfer() function (which is not allowed) this is now fixed as well. To complete that conversion a certain number of changes have been made: - the transfer len is split into multiple hardware transfers in case its size is bigger than the hardware FIFO size - the FIFO refill is no longer done in the interrupt context, which was a bad idea leading to quick interrupt handler re-entrancy Tested-by: Tanguy Bouzeloc Signed-off-by: Florian Fainelli Signed-off-by: Grant Likely --- Reading git-diff-tree failed