input: qti-haptics: Add a timer to stop playing when the time expired
Currently, when VMAX waveform source is chosen, the haptics would not
stop playing when playing timer is expired, it requires an explicit
calling with playback(0) to stop it. Add a timer to stop it when the
playing time is expired. This is not required when playing BUFFER
waveform source because haptics would stop playing after the pattern is
played.
Change-Id: I64659ea95478319cc39148443a229bcf56ad168c
Signed-off-by:
Fenglin Wu <fenglinw@codeaurora.org>
Loading
Please register or sign in to comment