aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaveen Kumar Gaddipati <naveen.gaddipati@stericsson.com>2010-06-29 10:28:24 +0530
committerJohn Rigby <john.rigby@linaro.org>2010-09-02 22:45:48 -0600
commit606bae5739781b03c48ea78937ba85889578bdb9 (patch)
tree36e57fc9a013541b355aa2566bad0d2a0adff87b
parent05d466112f4197ff1c501ade13685073605b46b7 (diff)
bu21013: fix to increase the touch screen performance
Fixed to increase the touch panel performance using touch panel confgiuration parameters ST-Ericsson Id: ER 264213 Signed-off-by: Naveen Kumar Gaddipati <naveen.gaddipati@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2047 Tested-by: P.Hanumath PRASAD <hanumath.prasad@stericsson.com> Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com> Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com> Change-Id: I579efe768baff17bde71334e71ab02fffbb9a6ca Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2640
-rwxr-xr-xdrivers/input/touchscreen/bu21013_ts.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/input/touchscreen/bu21013_ts.c b/drivers/input/touchscreen/bu21013_ts.c
index 31e7fdad3fb..4b5d1182713 100755
--- a/drivers/input/touchscreen/bu21013_ts.c
+++ b/drivers/input/touchscreen/bu21013_ts.c
@@ -23,7 +23,7 @@
#define MAX_TOOL_WIDTH 15
#define MAX_TOUCH_MAJOR 255
#define MAX_PRESSURE 1
-#define PENUP_TIMEOUT (20)
+#define PENUP_TIMEOUT (2)
#define SCALE_FACTOR 1000
#define I2C_ADDR_TP2 0x5D
@@ -1231,8 +1231,8 @@ static int bu21013_tp_probe(struct i2c_client *i2c, const struct i2c_device_id *
}
}
/* sys_fs value configuration */
- tsc_data->th_on = BU21013_TH_ON_5;
- tsc_data->th_off = (BU21013_TH_OFF_3 | BU21013_TH_OFF_4);
+ tsc_data->th_on = (BU21013_TH_ON_3 | BU21013_TH_ON_4);
+ tsc_data->th_off = BU21013_TH_OFF_4;
tsc_data->gain = (BU21013_GAIN_0 | BU21013_GAIN_1);
tsc_data->penup_timer = PENUP_TIMEOUT;