OSDN Git Service

leds: qpnp-haptic: Manage the state of PON regulator
authorVamshi Krishna B V <vbv@codeaurora.org>
Wed, 2 May 2018 09:13:32 +0000 (14:43 +0530)
committerGerrit - the friendly Code Review server <code-review@localhost>
Fri, 15 Feb 2019 11:16:35 +0000 (03:16 -0800)
commit4267c5bc846e6f0613e670f33a1b207a3decaeff
tree5f566b81146d26fc5a238bf306a34b76d6d69910
parent5596c6093d19bc60a3c6d91e30347394c8b06914
leds: qpnp-haptic: Manage the state of PON regulator

Control the PON regulator (required to force MBG_ON) based on
the current state of haptic and maintain the regulator state
to avoid frequent enable/disable.

CRs-Fixed: 1111145
Change-Id: I7e5656808b04a52fe3cfd57ab0d23a8e4e0db5f2
Signed-off-by: Vamshi Krishna B V <vbv@codeaurora.org>
Signed-off-by: Shilpa Suresh <sbsure@codeaurora.org>
Documentation/devicetree/bindings/leds/leds-qpnp-haptics.txt
drivers/leds/leds-qpnp-haptics.c