Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit df4eff8c authored by Fenglin Wu's avatar Fenglin Wu
Browse files

input: misc: qti-haptics: run a cleanup sequence after vibration



Currently, haptics module is disabled after vibration. Then when a
vibration effect is played after enabling the module again, the play
rate is not set correctly and the 1st half byte of the pattern is
lost during playing.

Fix this by introduce a cleanup sequence which will clear the hardware,
and disable the haptics module after the cleanup sequence is played.

Change-Id: I4fb8a2d2f8aa68aef92f3e4ad3afb67d0c2e670b
Signed-off-by: default avatarFenglin Wu <fenglinw@codeaurora.org>
parent d8f81fe4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment