Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 9862ec5a authored by Subbaraman Narayanamurthy's avatar Subbaraman Narayanamurthy
Browse files

leds: qpnp-flash-v2: add LED_KEEP_TRIGGER flag to switch devices



LED_KEEP_TRIGGER flag needs to be set on switch devices so that
the trigger will not be removed when the brightness is set to 0.
Without this, when an user sets brightness to 0 on switch device
and try to use camera flash, qpnp_flash_led_prepare() will fail
which in turn fails the camera flash operation.

Change-Id: I521bc6c6750bafc742dccac90ef585bc250b0270
Signed-off-by: default avatarSubbaraman Narayanamurthy <subbaram@codeaurora.org>
parent 1b6c41d1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment