summaryrefslogtreecommitdiff
path: root/drivers/input
diff options
context:
space:
mode:
authorVincent Chen <zochen@nvidia.com>2014-04-09 19:49:46 -0700
committerMandar Padmawar <mpadmawar@nvidia.com>2014-05-14 07:04:26 -0700
commit8a5fe78411acccc5ea809f98aca2c716a4b1b232 (patch)
treec6c8f502e5fd4698e5096cc49f71194c3aa5f206 /drivers/input
parent1f73f964718a8752dc285f401749178abc6e3038 (diff)
input: touch: raydium: update to 62.4
62.4 changelist: [1] improve TN8 stylus performance. [2] improve TN8 finger performance. [3] modify selftest function. Change-Id: Ida5a7e79c14a02d49dee3ccffa2344cc55563570 Reviewed_On: http://git-master/r/394462 (cherry picked from commit 12fef93a6711a0dccc7a524acf568286cb25814b) Signed-off-by: Vincent Chen <zochen@nvidia.com> Reviewed-on: http://git-master/r/394896 (cherry picked from commit ab165bc5c195db1a7a034b02174c2717e454c409) Reviewed-on: http://git-master/r/407524 Reviewed-by: Automatic_Commit_Validation_User 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.c22
1 files changed, 14 insertions, 8 deletions
diff --git a/drivers/input/touchscreen/rm31080a_ts.c b/drivers/input/touchscreen/rm31080a_ts.c
index 49971ecd34ae..3b076cbbdaab 100644
--- a/drivers/input/touchscreen/rm31080a_ts.c
+++ b/drivers/input/touchscreen/rm31080a_ts.c
@@ -117,7 +117,6 @@ enum RM_SLOW_SCAN_LEVELS {
#endif
/*#define CS_SUPPORT*/
-/*#define CONFIG_TRUSTED_LITTLE_KERNEL*/
#define MASK_USER_SPACE_POINTER 0x00000000FFFFFFFF /* 64-bit support */
/* do not use printk in kernel files */
@@ -3207,10 +3206,13 @@ static long dev_ioctl(struct file *file,
g_st_ts.b_calc_finish = 1;
break;
case RM_IOCTL_READ_RAW_DATA:
- ret = rm_tch_queue_read_raw_data((u8 *)(arg & MASK_USER_SPACE_POINTER), index);
+ ret = rm_tch_queue_read_raw_data(
+ (u8 *)(arg & MASK_USER_SPACE_POINTER),
+ index);
break;
case RM_IOCTL_GET_SACN_MODE:
- ret = rm_tch_ctrl_get_idle_mode((u8 *)(arg & MASK_USER_SPACE_POINTER));
+ ret = rm_tch_ctrl_get_idle_mode(
+ (u8 *)(arg & MASK_USER_SPACE_POINTER));
break;
case RM_IOCTL_SET_HAL_PID:
g_st_ts.u32_hal_pid = (u32)arg;
@@ -3220,7 +3222,8 @@ static long dev_ioctl(struct file *file,
g_st_ts.b_watch_dog_check = 0;
break;
case RM_IOCTL_GET_VARIABLE:
- ret = rm_tch_get_variable(index, ((u8 *)(arg & MASK_USER_SPACE_POINTER)));
+ ret = rm_tch_get_variable(index,
+ ((u8 *)(arg & MASK_USER_SPACE_POINTER)));
break;
case RM_IOCTL_INIT_START:
g_st_ts.b_init_finish = 0;
@@ -3240,19 +3243,22 @@ static long dev_ioctl(struct file *file,
g_st_ts.b_enable_scriber = (bool) arg;
break;
case RM_IOCTL_SET_PARAMETER:
- rm_tch_ctrl_set_parameter((void *)(arg & MASK_USER_SPACE_POINTER));
+ rm_tch_ctrl_set_parameter(
+ (void *)(arg & MASK_USER_SPACE_POINTER));
rm_tch_set_input_resolution(g_st_ctrl.u16_resolution_x,
g_st_ctrl.u16_resolution_y);
break;
case RM_IOCTL_SET_BASELINE:
- rm_tch_ctrl_set_baseline((u8 *)(arg & MASK_USER_SPACE_POINTER),
- g_st_ctrl.u16_data_length);
+ rm_tch_ctrl_set_baseline(
+ (u8 *)(arg & MASK_USER_SPACE_POINTER),
+ g_st_ctrl.u16_data_length);
break;
case RM_IOCTL_SET_VARIABLE:
rm_tch_set_variable(index, arg);
break;
case RM_IOCTL_SET_KRL_TBL:
- ret = rm_set_kernel_tbl(index, ((u8 *)(arg & MASK_USER_SPACE_POINTER)));
+ ret = rm_set_kernel_tbl(index,
+ ((u8 *)(arg & MASK_USER_SPACE_POINTER)));
break;
default:
return -EINVAL;