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

Skip to content
Commit 81b84a6d authored by Subbaraman Narayanamurthy's avatar Subbaraman Narayanamurthy
Browse files

backlight: qcom-spmi-wled: Add qpnp_wled_flash_led_prepare() API



Similar to qpnp_flash_led_prepare() API, add an API for WLED
flash LED devices, qpnp_wled_flash_led_prepare() that can provide
the maximum current for flash/torch devices and maximum available
current for switch device supported by the peripheral. Camera
flash driver makes use of this to do certain operations before it
sends the request to trigger flash/torch.

Change-Id: Ieb8ed119f3d617694bf97c5ea71e1c3dac9baea1
Signed-off-by: default avatarSubbaraman Narayanamurthy <subbaram@codeaurora.org>
parent 90e0cee9
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