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:
655b237
)
EKKANE-21:[Kane]:kernel:vibrator enable LPF (1/1)
author
zhangyijie
<zhangyijie@huaqin.com>
Tue, 9 Oct 2018 09:50:54 +0000
(17:50 +0800)
committer
xiest1
<xiest1@lenovo.com>
Tue, 5 Nov 2019 09:29:46 +0000
(17:29 +0800)
Enable AW8695 motor conctrl IC inner LPF funtion
Change-Id: I2f4a526ae1a7ab1b57c11d8e71402dddac6ad08a
drivers/misc/aw8695_haptic/aw8695.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/misc/aw8695_haptic/aw8695.c
b/drivers/misc/aw8695_haptic/aw8695.c
index b1ea9fc6b4a9a10ad07c1b4b5509484adcde00b5..0bfcadf5c0f9ee2b5e18a04b140a450ab4a4ecb6 100644
(file)
--- a/
drivers/misc/aw8695_haptic/aw8695.c
+++ b/
drivers/misc/aw8695_haptic/aw8695.c
@@
-1002,8
+1002,8
@@
static int aw8695_haptic_f0_calibration(struct aw8695 *aw8695)
/* LPF */
aw8695_i2c_write_bits(aw8695, AW8695_REG_DATCTRL,
AW8695_BIT_DATCTRL_FC_MASK, AW8695_BIT_DATCTRL_FC_1000HZ);
-
//
aw8695_i2c_write_bits(aw8695, AW8695_REG_DATCTRL,
-
//
AW8695_BIT_DATCTRL_LPF_ENABLE_MASK, AW8695_BIT_DATCTRL_LPF_ENABLE);
+ aw8695_i2c_write_bits(aw8695, AW8695_REG_DATCTRL,
+ AW8695_BIT_DATCTRL_LPF_ENABLE_MASK, AW8695_BIT_DATCTRL_LPF_ENABLE);
/* LRA OSC Source */
aw8695_i2c_write_bits(aw8695, AW8695_REG_ANACTRL,