diff options
author | Vincent Chen <zochen@nvidia.com> | 2014-04-01 23:13:20 -0400 |
---|---|---|
committer | David Pu <dpu@nvidia.com> | 2017-07-27 19:09:19 -0400 |
commit | 836752e472a52e0ba3d5835b9ce06824b2b15916 (patch) | |
tree | 086e350be1abe61fd01ba196cb4c1d937046129e /drivers/input/touchscreen/rm31080a_ctrl.c | |
parent | fbb17abd32b5ede8773684d37f7437712944ea7c (diff) |
input: touchscreen: raydium: update driver to 62.3
62.2 changes:
[1] fix error/warning from checkpatch
[2] add keybit
[3] Device tree support
[4] All the sysfs nodes are moved to 'sys/devices/virtual/misc/touch'
and also rename the device as 'touch'
[5] Using default path to loading all libraries instead of absolute path
[6] Remove PM suspend/resume operations to prevent from LP0 resume
failure due to race condition
[7] Touch performance refine (palm, stylus, ......)
[8] fix slowscan issue
[9] Add TLK support
[10] Add TN8 support
62.3 changes:
[1] fix checkpatch error.
[2] improve TN8 stylus performance.
[3] improve TN8 finger performance.
[4] add error code in selftest function.
[5] add TN8 noise hopping function.
[6] add codes for x64 system."
bug 1446493
bug 1482112
bug 1469135
bug 1468629
bug 1465587
bug 1453371
bug 1437076
bug 1405258
Change-Id: I633cddb8b65a9c7fe741f6a782d4a4f5fd792c58
Signed-off-by: Vincent Chen <zochen@nvidia.com>
Signed-off-by: Robert Collins <rcollins@nvidia.com>
Reviewed-on: http://git-master/r/401082
Tested-by: Hridya Valsaraju <hvalsaraju@nvidia.com>
Reviewed-by: Mitch Luban <mluban@nvidia.com>
Diffstat (limited to 'drivers/input/touchscreen/rm31080a_ctrl.c')
-rw-r--r-- | drivers/input/touchscreen/rm31080a_ctrl.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/drivers/input/touchscreen/rm31080a_ctrl.c b/drivers/input/touchscreen/rm31080a_ctrl.c index 7b6dd6a5a..d11c169ea 100644 --- a/drivers/input/touchscreen/rm31080a_ctrl.c +++ b/drivers/input/touchscreen/rm31080a_ctrl.c | |||
@@ -1,9 +1,9 @@ | |||
1 | /* | 1 | /* |
2 | * Raydium RM31080 touchscreen driver | 2 | * Raydium RM31080 touchscreen driver |
3 | * | 3 | * |
4 | * Copyright (C) 2012-2013, Raydium Semiconductor Corporation. | 4 | * Copyright (C) 2012-2014, Raydium Semiconductor Corporation. |
5 | * All Rights Reserved. | 5 | * All Rights Reserved. |
6 | * Copyright (C) 2012-2013, NVIDIA Corporation. All Rights Reserved. | 6 | * Copyright (C) 2012-2014, NVIDIA Corporation. All Rights Reserved. |
7 | * | 7 | * |
8 | * This program is free software; you can redistribute it and/or modify it | 8 | * This program is free software; you can redistribute it and/or modify it |
9 | * under the terms of the GNU General Public License as published by the | 9 | * under the terms of the GNU General Public License as published by the |
@@ -25,7 +25,7 @@ | |||
25 | /*============================================================================= | 25 | /*============================================================================= |
26 | GLOBAL VARIABLES DECLARATION | 26 | GLOBAL VARIABLES DECLARATION |
27 | =============================================================================*/ | 27 | =============================================================================*/ |
28 | struct rm_tch_ctrl_para g_stCtrl; | 28 | struct rm_tch_ctrl_para g_st_ctrl; |
29 | 29 | ||
30 | /*============================================================================= | 30 | /*============================================================================= |
31 | FUNCTION DECLARATION | 31 | FUNCTION DECLARATION |
@@ -40,7 +40,7 @@ struct rm_tch_ctrl_para g_stCtrl; | |||
40 | =============================================================================*/ | 40 | =============================================================================*/ |
41 | void rm_tch_ctrl_init(void) | 41 | void rm_tch_ctrl_init(void) |
42 | { | 42 | { |
43 | memset(&g_stCtrl, 0, sizeof(struct rm_tch_ctrl_para)); | 43 | memset(&g_st_ctrl, 0, sizeof(struct rm_tch_ctrl_para)); |
44 | } | 44 | } |
45 | 45 | ||
46 | /*============================================================================= | 46 | /*============================================================================= |
@@ -54,7 +54,8 @@ void rm_tch_ctrl_init(void) | |||
54 | unsigned char rm_tch_ctrl_get_idle_mode(u8 *p) | 54 | unsigned char rm_tch_ctrl_get_idle_mode(u8 *p) |
55 | { | 55 | { |
56 | u32 u32Ret; | 56 | u32 u32Ret; |
57 | u32Ret = copy_to_user(p, &g_stCtrl.bfIdleModeCheck, 1); | 57 | u32Ret = copy_to_user(p, |
58 | &g_st_ctrl.u8_idle_mode_check, 1); | ||
58 | if (u32Ret) | 59 | if (u32Ret) |
59 | return RETURN_FAIL; | 60 | return RETURN_FAIL; |
60 | return RETURN_OK; | 61 | return RETURN_OK; |
@@ -71,7 +72,8 @@ unsigned char rm_tch_ctrl_get_idle_mode(u8 *p) | |||
71 | void rm_tch_ctrl_set_parameter(void *arg) | 72 | void rm_tch_ctrl_set_parameter(void *arg) |
72 | { | 73 | { |
73 | ssize_t missing; | 74 | ssize_t missing; |
74 | missing = copy_from_user(&g_stCtrl, arg, sizeof(struct rm_tch_ctrl_para)); | 75 | missing = copy_from_user(&g_st_ctrl, |
76 | arg, sizeof(struct rm_tch_ctrl_para)); | ||
75 | if (missing) | 77 | if (missing) |
76 | return; | 78 | return; |
77 | } | 79 | } |