projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a8944e
)
Sensor: (1/1) fix issue - CapSensor calibration value is incorrect first time
author
litao2
<litao2@huaqin.com>
Sat, 12 Jan 2019 06:47:43 +0000
(14:47 +0800)
committer
xiest1
<xiest1@lenovo.com>
Tue, 5 Nov 2019 09:30:35 +0000
(17:30 +0800)
After writing calibration command to CMD register, user must wait 1.5 seconds
at least for calibration complete.
Bug:(CR)
Workaround:no
Change-Id: I8af3a56bce69b3d5b74d4fefd41cdddb3331451f
Signed-off-by: litao2 <litao2@huaqin.com>
drivers/input/misc/sx933x_sar.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/input/misc/sx933x_sar.c
b/drivers/input/misc/sx933x_sar.c
index 943ad17acfa6c9fa9968b7320a8d6b3a7c002c09..8daec35b34f4cbbcc05ab8360dffbd5fa53e8145 100755
(executable)
--- a/
drivers/input/misc/sx933x_sar.c
+++ b/
drivers/input/misc/sx933x_sar.c
@@
-310,6
+310,8
@@
static ssize_t manual_offset_calibration_store(struct device *dev,
if (val)
manual_offset_calibration(this);
+ msleep(1500);
+
return count;
}
/****************************************************************************/