Input: ads7846 - make transfer buffers DMA safe
authorAlexander Stein <alexander.stein@systec-electronic.com>
Thu, 5 May 2011 15:40:14 +0000 (08:40 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 5 May 2011 15:50:47 +0000 (08:50 -0700)
commit1dbe7dada2d03d1313183d439068f1f951a91244
tree49f79d5fbaf5fc982f7a7742f94ed465a69220a9
parentbf283707d5fb174ec09215ae19860ad04ba7b67a
Input: ads7846 - make transfer buffers DMA safe

req.sample needs its own cacheline otherwise accessing req.msg fetches
it in again.

Note: This effect doesn't occur if the underlying SPI driver doesn't use
DMA at all.

Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/ads7846.c