From: Johnnie Peters <johnnie123@verizon.net>
To: linux-kernel@vger.kernel.org
Subject: Problems with DMA in the pxa2xx_spi driver
Date: Mon, 07 May 2007 13:35:08 -0700 [thread overview]
Message-ID: <463F8D7C.4080304@verizon.net> (raw)
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
reply other threads:[~2007-05-07 20:35 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=463F8D7C.4080304@verizon.net \
--to=johnnie123@verizon.net \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox