diff options
author | Vincent Chen <zochen@nvidia.com> | 2014-05-07 16:23:50 -0700 |
---|---|---|
committer | Mandar Padmawar <mpadmawar@nvidia.com> | 2014-05-14 07:05:08 -0700 |
commit | a316a56cf2b65f4b27d22fb9435eab6f9586f55b (patch) | |
tree | a98cb9f1b8eb79332c36ea27f592e1d3953c7dd9 /drivers/input | |
parent | 7d6d2616518020d97bbe828ef791b807b025a66c (diff) |
input:touchscreen: raydium: update to 63.7
63.7 changelist:
1. Fixed “Drawing Shot strokes suddenly moves towards the edges”.
2. Fixed “Ghost touch detected if put screen on desk”.
3. Fixed “Line broken if draw line outside in by stylus”.
4. Solved the multiple interrupt in rm_work_handler.
5. Improve stylus performance with palm.
6. Fixed the issue of touch no response after selftest. Please update selftest to this version.
7. change report to 250Hz in SPI 18M
Change-Id: I5f55d54efde9adbc064c89d19be37876aeff447e
Signed-off-by: Vincent Chen <zochen@nvidia.com>
Reviewed-on: http://git-master/r/406669
(cherry picked from commit 2102dc1f143556333d01057807b0d87c7b3a2754)
Reviewed-on: http://git-master/r/408006
Reviewed-by: Alex Chen <alchen@nvidia.com>
Tested-by: Alex Chen <alchen@nvidia.com>
Reviewed-by: Robert Collins <rcollins@nvidia.com>
Reviewed-by: Xiaohui Tao <xtao@nvidia.com>
Reviewed-by: Thomas Cherry <tcherry@nvidia.com>
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/touchscreen/rm31080a_ts.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/drivers/input/touchscreen/rm31080a_ts.c b/drivers/input/touchscreen/rm31080a_ts.c index 47b8473fd873..3be70a391b9b 100644 --- a/drivers/input/touchscreen/rm31080a_ts.c +++ b/drivers/input/touchscreen/rm31080a_ts.c @@ -701,7 +701,7 @@ void raydium_report_pointer(void *p) static int rm_tch_read_image_data(unsigned char *p) { int ret; - struct rm_tch_ts *ts = input_get_drvdata(g_input_dev); + g_pu8_burstread_buf = p; #if ENABLE_FREQ_HOPPING /*ENABLE_SCAN_DATA_HEADER*/ @@ -715,7 +715,7 @@ static int rm_tch_read_image_data(unsigned char *p) g_pu8_burstread_buf[7] = 0x00; #endif - ret = rm_tch_cmd_process(0, g_st_rm_readimg_cmd, ts); + ret = rm_tch_cmd_process(0, g_st_rm_readimg_cmd, NULL); return ret; } @@ -771,6 +771,8 @@ void rm_tch_ctrl_enter_auto_mode(void) void rm_tch_ctrl_leave_auto_mode(void) { + struct rm_tch_ts *ts = input_get_drvdata(g_input_dev); + g_st_ctrl.u8_idle_mode_check |= 0x01; #if ENABLE_FREQ_HOPPING @@ -781,7 +783,7 @@ void rm_tch_ctrl_leave_auto_mode(void) } #endif - rm_tch_cmd_process(0, g_st_cmd_set_idle, NULL); + rm_tch_cmd_process(0, g_st_cmd_set_idle, ts); rm_set_repeat_times(g_st_ctrl.u8_active_digital_repeat_times); if (g_st_ctrl.u8_kernel_msg & DEBUG_DRIVER) @@ -2455,8 +2457,8 @@ static void rm_tch_enter_test_mode(u8 flag) flush_workqueue(g_st_ts.rm_timer_workqueue); } else { /*leave test mode*/ g_st_ts.b_selftest_enable = 0; - g_st_ts.b_is_suspended = false; rm_tch_init_ts_structure_part(); + g_st_ts.b_is_suspended = false; } rm_tch_cmd_process(flag, g_st_rm_testmode_cmd, NULL); @@ -2686,9 +2688,6 @@ static void rm_ctrl_suspend(struct rm_tch_ts *ts) g_input_dev, BTN_STYLUS2, false); } - input_mt_report_pointer_emulation( - g_input_dev, - false); input_sync(g_input_dev); #endif rm_tch_cmd_process(0, g_st_rm_suspend_cmd, ts); |