]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit - drivers/input/touchscreen/tsc2301_ts.c
tsc2301 - Move SPI data buffer to GFP_KERNEL memory
authorKlaus Pedersen <klaus.k.pedersen@nokia.com>
Fri, 15 Feb 2008 21:31:45 +0000 (23:31 +0200)
committerTony Lindgren <tony@atomide.com>
Thu, 21 Feb 2008 00:20:41 +0000 (16:20 -0800)
commit31a8b2bc0aea39075193bd0a2e4874363341e3e7
tree0af39b2b79dc85906af15ebd7169c081f6f3c1ae
parent8266ac4e5940569f237ffbde7b3b6ab9de1cf4de
tsc2301 - Move SPI data buffer to GFP_KERNEL memory

Because the dma_map_single() on ARM only flushes and invalidates
the cache-lines occupied by the transfer buffer, care should be
taken not to touch memory that share the same cache-lines before
starting the DMA transfer.

Signed-off-by: Klaus Pedersen <klaus.k.pedersen@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/input/touchscreen/tsc2301_ts.c