summaryrefslogtreecommitdiff
path: root/drivers/input/touchscreen/rm31080a_ctrl.c
diff options
context:
space:
mode:
authorVincent Chen <zochen@nvidia.com>2014-04-01 20:13:20 -0700
committerRiham Haidar <rhaidar@nvidia.com>2014-05-05 11:05:33 -0700
commit37d7fa65b3f8471e65cbe3ea8ed05419bcdf2342 (patch)
treed63a0de4ca7774e91bd39e3c6e30c3a6ad4689a9 /drivers/input/touchscreen/rm31080a_ctrl.c
parent7e2ffe6c059b6fbae01480605e5aef8093e5fb4c (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.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/drivers/input/touchscreen/rm31080a_ctrl.c b/drivers/input/touchscreen/rm31080a_ctrl.c
index 7b6dd6a5a10b..d11c169ea708 100644
--- a/drivers/input/touchscreen/rm31080a_ctrl.c
+++ b/drivers/input/touchscreen/rm31080a_ctrl.c
@@ -1,9 +1,9 @@
/*
* Raydium RM31080 touchscreen driver
*
- * Copyright (C) 2012-2013, Raydium Semiconductor Corporation.
+ * Copyright (C) 2012-2014, Raydium Semiconductor Corporation.
* All Rights Reserved.
- * Copyright (C) 2012-2013, NVIDIA Corporation. All Rights Reserved.
+ * Copyright (C) 2012-2014, NVIDIA Corporation. All Rights Reserved.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
@@ -25,7 +25,7 @@
/*=============================================================================
GLOBAL VARIABLES DECLARATION
=============================================================================*/
-struct rm_tch_ctrl_para g_stCtrl;
+struct rm_tch_ctrl_para g_st_ctrl;
/*=============================================================================
FUNCTION DECLARATION
@@ -40,7 +40,7 @@ struct rm_tch_ctrl_para g_stCtrl;
=============================================================================*/
void rm_tch_ctrl_init(void)
{
- memset(&g_stCtrl, 0, sizeof(struct rm_tch_ctrl_para));
+ memset(&g_st_ctrl, 0, sizeof(struct rm_tch_ctrl_para));
}
/*=============================================================================
@@ -54,7 +54,8 @@ void rm_tch_ctrl_init(void)
unsigned char rm_tch_ctrl_get_idle_mode(u8 *p)
{
u32 u32Ret;
- u32Ret = copy_to_user(p, &g_stCtrl.bfIdleModeCheck, 1);
+ u32Ret = copy_to_user(p,
+ &g_st_ctrl.u8_idle_mode_check, 1);
if (u32Ret)
return RETURN_FAIL;
return RETURN_OK;
@@ -71,7 +72,8 @@ unsigned char rm_tch_ctrl_get_idle_mode(u8 *p)
void rm_tch_ctrl_set_parameter(void *arg)
{
ssize_t missing;
- missing = copy_from_user(&g_stCtrl, arg, sizeof(struct rm_tch_ctrl_para));
+ missing = copy_from_user(&g_st_ctrl,
+ arg, sizeof(struct rm_tch_ctrl_para));
if (missing)
return;
}