pxa2xx_spi: fix chip_info defaults and documentation.
authorVernon Sauder <vernoninhand@gmail.com>
Thu, 16 Oct 2008 05:02:43 +0000 (22:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 16 Oct 2008 18:21:38 +0000 (11:21 -0700)
commitf1f640a9c1d97a1a131879ab1efe3766443904d7
treea31853ea036cf9d0f42310ca60b555fe31b886e1
parent65a00a20655f4929c4991017e230175f61c8f052
pxa2xx_spi: fix chip_info defaults and documentation.

Make the chip info structure data optional by providing reasonable
defaults.  Improve corresponding documentation, and highlight the drawback
of not providing explicit chipselect control.

DMA can determine appropriate dma_burst_size and thresholds automatically
so use DMA even if dma_burst_size is not specified.

Signed-off-by: Vernon Sauder <VernonInHand@gmail.com>
Reviewed-by: Ned Forrester <nforrester@whoi.edu>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Documentation/spi/pxa2xx
drivers/spi/pxa2xx_spi.c