Subbaraman Narayanamurthy f33e3b2556 leds: qpnp-flash-v2: Do not clear led_on when flash/torch brightness is 0
Currently, led_on flag is cleared whenever the brightness is set
to 0. This is incorrect as the led_on flag should be cleared only
when switch device is disabled. Fix it.

Change-Id: I7d70cb9588b55610dbc8eaf57338490ce82a0917
Signed-off-by: Subbaraman Narayanamurthy <subbaram@codeaurora.org>
2018-04-02 15:38:37 -07:00
..
2017-09-07 14:33:13 -07:00
2017-03-29 21:02:27 +02:00
2017-01-04 09:37:56 +01:00