From 9c7e0273ed523ff68707eb4becec7353918f50d1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=E6=B2=88=E7=9D=BF=E6=B1=80?= Date: Thu, 3 Jun 2010 06:39:26 +0000 Subject: [PATCH] update for xpt2046 --- drivers/input/touchscreen/xpt2046_ts.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/input/touchscreen/xpt2046_ts.c b/drivers/input/touchscreen/xpt2046_ts.c index 4af936103a6a..e92c31036ced 100644 --- a/drivers/input/touchscreen/xpt2046_ts.c +++ b/drivers/input/touchscreen/xpt2046_ts.c @@ -61,8 +61,8 @@ #define AD_TO_X(adx) (LCD_MAX_WIDTH * (adx - PT2046_TOUCH_AD_TOP) / ( PT2046_TOUCH_AD_BOTTOM - PT2046_TOUCH_AD_TOP )) #define AD_TO_Y(ady) (LCD_MAX_LENGTH * (PT2046_TOUCH_AD_LEFT - ady) / (PT2046_TOUCH_AD_LEFT - PT2046_TOUCH_AD_RIGHT)) -#define TS_POLL_DELAY (3 * 1000000) /* ns delay before the first sample */ -#define TS_POLL_PERIOD (15 * 1000000) /* ns delay between samples */ +#define TS_POLL_DELAY (10 * 1000000) /* ns delay before the first sample */ +#define TS_POLL_PERIOD (20 * 1000000) /* ns delay between samples */ #define DEBOUNCE_REPTIME 3 /* this driver doesn't aim at the peak continuous sample rate */ -- 2.34.1