summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEric Miao <eric.miao@marvell.com>2009-04-11 16:54:59 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2009-04-11 17:09:15 -0700
commitfd746d540abf8c686f5f868ae62112692e684088 (patch)
tree2ed9a62f6566468750aec17944febfbff3e0d04d /include
parentb79e83bdd961ec9b862191c0df51aaeb3cb85664 (diff)
downloadblackbird-op-linux-fd746d540abf8c686f5f868ae62112692e684088.tar.gz
blackbird-op-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);
};
OpenPOWER on IntegriCloud