public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Problems with DMA in the pxa2xx_spi driver
@ 2007-05-07 20:35 Johnnie Peters
  0 siblings, 0 replies; only message in thread
From: Johnnie Peters @ 2007-05-07 20:35 UTC (permalink / raw)
  To: linux-kernel

Hi All,

I have written a SPI protocol driver to connect a data acquisition chip 
to a character based interface to read and write the device.  It works 
well in PIO mode and I am trying to get it to work with DMA.

To enable the DMA I am setting enable_dma in the pxa2xx_psi_chip struct 
and dma_burst_size to 16 in the pxa2xx_spi_chip structure under the 
board master file arch/arm/mach-pxa/xxxx.c.

Other than that I have not really changed anything.  I had assumed since 
DMA code has been in the driver a while that DMA would just work.  I 
must be missing some setup data I need.

Any help would be appreciated,

Johnnie



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-05-07 20:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-07 20:35 Problems with DMA in the pxa2xx_spi driver Johnnie Peters

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox