summaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen/rm31080a_ctrl.c
diff options
context:
space:
mode:
authorXiaohui Tao <xtao@nvidia.com>2012-12-03 18:29:39 -0500
committerDavid Pu <dpu@nvidia.com>2017-07-27 19:09:19 -0400
commit3c283edcd71581db9ab41813ce4ced3ee2710b79 (patch)
tree63c0c61d640ca7b1e112a1619bb16218002f312f /drivers/input/touchscreen/rm31080a_ctrl.c
parentd2bf7bdf4fe98a00d9f8a3acf7925c9d12266677 (diff)
input: touch: raydium updates for slow scan
Raydium code drop. Added updates for Pluto, Dalmore slow scan Bug 1054801 Change-Id: I5728ea0ae4c1a34a65e97c49cc387067df5a1dcf Signed-off-by: David Jung <djung@nvidia.com> Signed-off-by: Xiaohui Tao <xtao@nvidia.com> Reviewed-on: http://git-master/r/163056 Reviewed-by: Automatic_Commit_Validation_User Reviewed-by: Robert Collins <rcollins@nvidia.com> Reviewed-by: Simone Willett <swillett@nvidia.com> Tested-by: Simone Willett <swillett@nvidia.com>
Diffstat (limited to 'drivers/input/touchscreen/rm31080a_ctrl.c')
-rw-r--r--drivers/input/touchscreen/rm31080a_ctrl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/input/touchscreen/rm31080a_ctrl.c b/drivers/input/touchscreen/rm31080a_ctrl.c
index 848dbb376..fc515a766 100644
--- a/drivers/input/touchscreen/rm31080a_ctrl.c
+++ b/drivers/input/touchscreen/rm31080a_ctrl.c
@@ -2,7 +2,7 @@
2 * Raydium RM31080 touchscreen driver 2 * Raydium RM31080 touchscreen driver
3 * 3 *
4 * Copyright (C) 2012 Raydium Semiconductor Corporation 4 * Copyright (C) 2012 Raydium Semiconductor Corporation
5 * Copyright (C) 2012 NVIDIA Corporation 5 * Copyright (C) 2012 NVIDIA Corporation, All Rights Reserved.
6 * 6 *
7 * This program is free software; you can redistribute it and/or modify it 7 * This program is free software; you can redistribute it and/or modify it
8 * under the terms of the GNU General Public License as published by the 8 * under the terms of the GNU General Public License as published by the
@@ -509,7 +509,7 @@ int rm_noise_detect(signed char *pSource)
509#endif 509#endif
510 pbBaseline = g_pbBaseline; 510 pbBaseline = g_pbBaseline;
511 511
512 if (g_stCtrl.bBaselineReady) 512 if (!g_stCtrl.bBaselineReady)
513 return tRet; 513 return tRet;
514 514
515 if (g_stCtrl.bChannelDetectorNum <= 0) 515 if (g_stCtrl.bChannelDetectorNum <= 0)