Skip to content

Commit

Permalink
mxt224e: Fix touch sensitivity in high noise level
Browse files Browse the repository at this point in the history
Because Janice is round shape, the edge area of the touchscreen can't be touched with a high threshold.
This situation happens when a bad charger attaches.

Signed-off-by: cocafe <cocafehj@gmail.com>
  • Loading branch information
cocafe committed Jan 25, 2014
1 parent a39f23d commit 4e8cf49
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/input/touchscreen/mxt224e.c
Original file line number Diff line number Diff line change
Expand Up @@ -1289,7 +1289,7 @@ static int median_err_setting(struct mxt224_data *data)
write_mem(copy_data, obj_address+22, 1, &value);
value = 38;
write_mem(copy_data, obj_address+25, 1, &value);
value = 40;
value = 20;
write_mem(copy_data, obj_address+35, 1, &value);
value = 81;
write_mem(copy_data, obj_address+39, 1, &value);
Expand Down Expand Up @@ -3920,7 +3920,7 @@ static int __devinit mxt224_probe(struct i2c_client *client,
noise_median.t46_actvsyncsperx_for_mferr = 40;
noise_median.t48_mfinvlddiffthr_for_mferr = 12;
noise_median.t48_mferrorthr_for_mferr = 19;
noise_median.t48_thr_for_mferr = 35;
noise_median.t48_thr_for_mferr = 20;
noise_median.t48_movfilter_for_mferr = 0;
#else
noise_median.t46_actvsyncsperx_for_mferr = 38;
Expand Down

0 comments on commit 4e8cf49

Please sign in to comment.