mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
aw8624: Fix inconsistent vibration by ensuring correct effect ID
Change-Id: I7118695ca56555f5fb38a5008a1c7416c886a308 Signed-off-by: Richard Raya <rdxzv.dev@gmail.com>
This commit is contained in:
parent
55ae6a0163
commit
94c0b4a79a
@ -2800,6 +2800,7 @@ static int aw8624_haptics_playback(struct input_dev *dev, int effect_id,
|
||||
|
||||
VIB_FUNC_ENTER();
|
||||
VIB_DEBUG("effect_id=%d , val = %d", effect_id, val);
|
||||
aw8624->effect_id = effect_id;
|
||||
VIB_DEBUG("aw8624->effect_id=%d , aw8624->activate_mode = %d",
|
||||
aw8624->effect_id, aw8624->activate_mode);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user