summaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen/rm31080a_ts.c
diff options
context:
space:
mode:
authorXiaohui Tao <xtao@nvidia.com>2013-08-02 13:09:32 -0400
committerDavid Pu <dpu@nvidia.com>2017-07-27 19:09:19 -0400
commit2b1d2707e1c7c36275a3bfdf49f6ad039a2cb4b5 (patch)
treebad370b02a8c1aca31a6c89c61d349f099c3afbe /drivers/input/touchscreen/rm31080a_ts.c
parentcfcd5bde5426906a1d9cdf1f7d1fba5bb9a22cdf (diff)
input: touchscreen: raydium v60.2 touch driver
raydium code drop [1] Add additional info for regulator event msg [2] Add RM_PLATFORM_A010 for Ardbeg AVC sensor [3] Fix no touch function in Pluto platform with RM31081 from idle mode [4] Refine Pismo touch direction [5] Fix idle mode problem with Ardbeg AVC sensor Bug 1330952 Change-Id: Ib282bec3f07a16eb657314ee5127824f02a89d02 Signed-off-by: Xiaohui Tao <xtao@nvidia.com> Reviewed-on: http://git-master/r/257604 Reviewed-by: Mitch Luban <mluban@nvidia.com>
Diffstat (limited to 'drivers/input/touchscreen/rm31080a_ts.c')
-rw-r--r--drivers/input/touchscreen/rm31080a_ts.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/drivers/input/touchscreen/rm31080a_ts.c b/drivers/input/touchscreen/rm31080a_ts.c
index 62b31dea4..03136e4ff 100644
--- a/drivers/input/touchscreen/rm31080a_ts.c
+++ b/drivers/input/touchscreen/rm31080a_ts.c
@@ -907,9 +907,11 @@ static u32 rm_tch_get_platform_id(u8 *p)
907static u32 rm_tch_get_gpio_sensor_select(u8 *p) 907static u32 rm_tch_get_gpio_sensor_select(u8 *p)
908{ 908{
909 u32 u32Ret = 0; 909 u32 u32Ret = 0;
910 struct rm_spi_ts_platform_data *pdata; 910 /* wait to be implemented...
911 pdata = g_input_dev->dev.parent->platform_data; 911 struct rm_spi_ts_platform_data *pdata;
912 u32Ret = pdata->gpio_sensor_select0 | pdata->gpio_sensor_select1 << 1; 912 pdata = g_input_dev->dev.parent->platform_data;
913 u32Ret = gpio_set_value(pdata->gpio_sensor_select0) | (1 << gpio_set_value(pdata->gpio_sensor_select1));
914 */
913 u32Ret = copy_to_user(p, &u32Ret, sizeof(u32Ret)); 915 u32Ret = copy_to_user(p, &u32Ret, sizeof(u32Ret));
914 if (u32Ret != 0) 916 if (u32Ret != 0)
915 return FAIL; 917 return FAIL;