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

Commit d6287a3c authored by Chun Zhang's avatar Chun Zhang Committed by Abinaya P
Browse files

leds: leds-qpnp-flash: modify code to support single/dual flash



Flash LEDs were hardcoded as 0,1 and Torch LEDs were hard coded
as 2,3 in LED array. This may lead to issues in targets where
only single flash/torch LED is present. Hence, modify the code
to make it applicable for any generic case (single/dual LED).

Change-Id: Ia8d6eb98fb84310b3234b8deccfe7f604d6aa09a
Signed-off-by: default avatarChun Zhang <chunz@codeaurora.org>
parent 0e4d2cfe
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