leds: leds-qpnp: disable flash enable register when not in use

Disable flash enable registers when the flash LED is not in use
in order to save power.

Also, correctly set FLASH_VREG_OK_FORCE register after each LED
flash so that software retains control of power_ok signal.

Change-Id: I9e2001434a540da521432c53f175f9bab2a4687b
Signed-off-by: Amy Maloche <amaloche@codeaurora.org>
1 file changed