EKKANE-21:[Kane]:kernel:vibrator enable LPF (1/1)
authorzhangyijie <zhangyijie@huaqin.com>
Tue, 9 Oct 2018 09:50:54 +0000 (17:50 +0800)
committerxiest1 <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

index b1ea9fc6b4a9a10ad07c1b4b5509484adcde00b5..0bfcadf5c0f9ee2b5e18a04b140a450ab4a4ecb6 100644 (file)
@@ -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,