(CR):[Kane]:[kernel]motor solve CQA dont shake(1/1)
authorzhangyijie <zhangyijie@huaqin.com>
Wed, 9 Jan 2019 09:13:45 +0000 (17:13 +0800)
committerlingsen1 <lingsen1@lenovo.com>
Sun, 7 Feb 2021 09:36:46 +0000 (17:36 +0800)
Solve Vibrator dont shake in CQA

Change-Id: Id9b6c710214f71e2c2269a672149802c8422f992

drivers/misc/aw8695_haptic/aw8695.c

index e3e582af577f1a4f9b65e48d73c9c5071d9b5940..d2353f4e183aa0be85f4f1d6e52b94af7b4f8ea5 100755 (executable)
@@ -1275,7 +1275,7 @@ static int aw8695_haptic_cont(struct aw8695 *aw8695)
     aw8695_haptic_play_mode(aw8695, AW8695_HAPTIC_CONT_MODE);
 
     /* preset f0 */
-    aw8695->f0_pre = aw8695->f0;
+    aw8695->f0_pre = AW8695_HAPTIC_F0_PRE; //set f0_pre as default in every cont vibration
     aw8695_haptic_set_f0_preset(aw8695);
 
     /* lpf */