msm: qpnp-haptic: Process haptics asynchronously
Blocking the timed_output sysfs node due to mutex contention causes severe device wake-up latency, as a process crucial to system resume writes to the timed_output vibrator node every time the device is resumed via the fingerprint reader (fingerprint reader triggers a haptic response on success). By processing haptics asynchronously via a worker, the timed_output sysfs won't get stalled for long periods of time (>30ms), and thus the device will consistently wake from sleep faster. Change-Id: Id482be9e098a77f0859613f0ab52a6f1542b4192 Signed-off-by:Sultanxda <sultanxda@gmail.com> Signed-off-by:
Francisco Franco <franciscofranco.1990@gmail.com>
Loading
Please register or sign in to comment