]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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)
commite8f462d202026d8e99f553ed5a09422321226ac9
treee5351b7855cf9ec60120468e36381af286277aa1
parent2d517cab01075610a615ebda0a1c16ba3fb081ae
Input: ads7846 - fix cache line sharing issue

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>
drivers/input/touchscreen/ads7846.c