projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74f6b5b
)
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
lingsen1
<lingsen1@lenovo.com>
Sun, 7 Feb 2021 09:36:53 +0000
(17:36 +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;
}
/****************************************************************************/