On Tue, Apr 22, 2014 at 10:13:40PM +0200, Phoebe Buckheister wrote:
> On Tue, April 22, 2014 8:55 pm, Alexander Aring wrote:
> > This patch puts a buffer on the stack instead of heap. There is no need
> > to hold the buffer on the heap.
> 
> I put that there because I was told that heap memory is DMA safe, while
> stack memory need not be. If you intend to change that back to what I
> originally posted, please verify that it's safe - I haven't bothered back
> then.
> 

I will drop this patch. With regmap support we don't need any lowlevel
spi calls anyway...

If you want use lowlevel spi dma things you need also enable the

* @is_dma_mapped: if true, the caller provided both dma and cpu virtual
*      addresses for each transfer buffer

field in spi_message.

- Alex

------------------------------------------------------------------------------
Start Your Social Network Today - Download eXo Platform
Build your Enterprise Intranet with eXo Platform Software
Java Based Open Source Intranet - Social, Extensible, Cloud Ready
Get Started Now And Turn Your Intranet Into A Collaboration Platform
http://p.sf.net/sfu/ExoPlatform
_______________________________________________
Linux-zigbee-devel mailing list
Linux-zigbee-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-zigbee-devel

Reply via email to