]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
Input: ads7846 - fix cache line sharing issue
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 9 Oct 2008 04:52:23 +0000 (00:52 -0400)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 9 Oct 2008 05:01:21 +0000 (01:01 -0400)
We had a report a while back that the ads7846 driver had some issues
when used with DMA-based SPI controllers (like atmel_spi) on systems
where main memory is not DMA-coherent (most non-x86 boards). Allocate
memory potentially used for DMA separately to avoid cache line issues.

Reported-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>

No differences found