commit | a81bbb3a863bd5a3c0a5a9e22f55478a0f02e232 | [log] [tgz] |
---|---|---|
author | Kiran Gunda <kgunda@codeaurora.org> | Tue Sep 11 15:03:54 2018 +0530 |
committer | Kiran Gunda <kgunda@codeaurora.org> | Wed Sep 12 14:11:25 2018 +0530 |
tree | 6bf46cae12cb40875a99228076e75524f6ad7cf5 | |
parent | 30545cd5edfaea2a358681ee709c1a96e6369c3d [diff] |
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: Kiran Gunda <kgunda@codeaurora.org>