msm: qpnp-haptic: disable haptics during permanent short circuit
sc_irq is fired when short circuit happens. It is considered to be
a permanent short circut when it lasts more than 5 secs. Hence,
if the sc_irq is fired continuously for more than 5 secs, then
disable the haptics driver permanently.
Change-Id: I38b2de58acb75755dd4a024cfbf626f886f4d91e
Signed-off-by:
Abinaya P <abinayap@codeaurora.org>
Loading
Please register or sign in to comment