summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEric Miao <eric.miao@marvell.com>2009-04-12 01:54:59 +0200
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2009-04-12 02:09:15 +0200
commitfd746d540abf8c686f5f868ae62112692e684088 (patch)
tree2ed9a62f6566468750aec17944febfbff3e0d04d /include
parentInput: remove unnecessary synchronize_rcu() call (diff)
downloadlinux-fd746d540abf8c686f5f868ae62112692e684088.tar.xz
linux-fd746d540abf8c686f5f868ae62112692e684088.zip
Input: ads7846 - introduce platform specific way to synchronize sampling
Noises can be introduced when LCD signals are being driven, some platforms provide a signal to assist the synchronization of this sampling procedure. Signed-off-by: Eric Miao <eric.miao@marvell.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include')
-rw-r--r--include/linux/spi/ads7846.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/spi/ads7846.h b/include/linux/spi/ads7846.h
index 05eab2f11e63..2ea20320c093 100644
--- a/include/linux/spi/ads7846.h
+++ b/include/linux/spi/ads7846.h
@@ -51,5 +51,6 @@ struct ads7846_platform_data {
void **filter_data);
int (*filter) (void *filter_data, int data_idx, int *val);
void (*filter_cleanup)(void *filter_data);
+ void (*wait_for_sync)(void);
};