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

Skip to content
Commit a81bbb3a authored by Kiran Gunda's avatar Kiran Gunda
Browse files

leds: qpnp-wled: Do not program the hybrid dimming register always



Currently hybrid dimming register is programmed always
irrespective of the dim_mode, which is not required. Also make
sure to initialize num_strings variable to '0' when the
led-string-list is empty.

Change-Id: I9a98767d79aabc3826831e378879cdff27f18a6b
Signed-off-by: default avatarKiran Gunda <kgunda@codeaurora.org>
parent 30545cd5
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