[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <200811230026.11126.david-b@pacbell.net>
Date: Sun, 23 Nov 2008 00:26:10 -0800
From: David Brownell <david-b@...bell.net>
To: Daniel Ribeiro <drwyrm@...il.com>
Cc: Stefan Schmidt <stefan@...enfreihafen.org>,
spi-devel-general@...ts.sourceforge.net,
Stefan Schmidt <stefan@...nmoko.org>, eric.y.miao@...il.com,
linux-kernel@...r.kernel.org, sameo@...nedhand.com,
linux-arm-kernel@...ts.arm.linux.org.uk
Subject: Re: [spi-devel-general] [patch 05/14] mfd: PCAP2 driver
On Saturday 22 November 2008, Daniel Ribeiro wrote:
> Can you be more descriptive on "address the DMA"? Im not familiar on
> what is the issue here.
You may not pass stack based buffers -- as you're now doing -- for
the spi_transfer buffers. Documentation/DMA-mapping.txt is very
clear that such buffers are not DMA-safe, and the SPI kerneldoc is
just as clear that spi_transfer.{tx,rx}_buf memory must be DMA-safe.
- Dave
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists