summaryrefslogtreecommitdiffstats
path: root/drivers/spi/pxa2xx_spi.c
diff options
context:
space:
mode:
authorMike Frysinger2009-04-07 04:00:41 +0200
committerLinus Torvalds2009-04-07 17:31:05 +0200
commit11d6f5995137ba4dc49e9337185ac0a8753f8f69 (patch)
tree36f45d8415d190db572be32dd12ec24424c98ad5 /drivers/spi/pxa2xx_spi.c
parentBlackfin SPI Driver: SPI slave select code cleanup (diff)
downloadkernel-qcow2-linux-11d6f5995137ba4dc49e9337185ac0a8753f8f69.tar.gz
kernel-qcow2-linux-11d6f5995137ba4dc49e9337185ac0a8753f8f69.tar.xz
kernel-qcow2-linux-11d6f5995137ba4dc49e9337185ac0a8753f8f69.zip
Blackfin SPI Driver: get dma working for SPI flashes
When using a BF533-STAMP here with a W25X10 SPI flash. It works fine when enable_dma is disabled, but doesn't work at all when turning DMA on. We get just 0xff bytes back when trying to read the device. Change the code around so that it programs the SPI first and then enables DMA, it seems to work a lot better ... Signed-off-by: Mike Frysinger <vapier.adi@gmail.com> Signed-off-by: Bryan Wu <cooloney@kernel.org> Acked-by: David Brownell <dbrownell@users.sourceforge.net> Cc: David Brownell <david-b@pacbell.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/spi/pxa2xx_spi.c')
0 files changed, 0 insertions, 0 deletions