diff options
author | Florian Fainelli <florian@openwrt.org> | 2012-04-20 17:37:33 +0400 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2012-04-27 21:15:41 +0400 |
commit | cde4384e1037c15e5dd04c68d19c75798b6281dd (patch) | |
tree | d3b9865bdb5d064c9f047310acd6588091f6d8cd /arch/alpha/include/asm/termios.h | |
parent | d4b9b578cba7231c1fbafbe901a2e8f38654e056 (diff) | |
download | linux-cde4384e1037c15e5dd04c68d19c75798b6281dd.tar.xz |
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 <tanguy.bouzeloc@efixo.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'arch/alpha/include/asm/termios.h')
0 files changed, 0 insertions, 0 deletions