summaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorSubbaraman Narayanamurthy <subbaram@codeaurora.org>2018-01-08 14:57:12 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2019-02-15 03:16:18 -0800
commit5596c6093d19bc60a3c6d91e30347394c8b06914 (patch)
tree998980d96d671422f7fa067c927b9e97b6f58bac /include/linux/debugobjects.h
parent7acdf203cfc3cbd30c51e9f3f8db70e614bb9b32 (diff)
leds: qpnp-haptics: Allow duration for buffer mode
Currently, duration is not allowed to be set while playing the pattern in buffer mode. This works fine. However when playing multiple sample sets, the last sample set might be stopped early as the play interrupt fires immediately after configuring the new sample set. Fix this by calculating the duration based on the wave samples configured and the play rate. Change-Id: I67b1741d435e07bf7332f7e36231fefa9129a9a6 Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org> Signed-off-by: Shilpa Suresh <sbsure@codeaurora.org>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions