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

Commit 5fe15c5f authored by Mao Li's avatar Mao Li Committed by Shantanu Jain
Browse files

leds: aw2013_led: disable regulators when not needed



Turn off the LED regulators if brightness of all the LEDs that are
connected to the host is 0. This change is required to save the power
consumption.

This patch is propagated from msm-3.10 kernel.
(commit: I9bae343becb9a794a5ecc8ddf9c2edb3b5aecfce)
leds: aw2013_led: disable regulators when not needed

Change-Id: I9bae343becb9a794a5ecc8ddf9c2edb3b5aecfce
Signed-off-by: default avatarMao Li <maol@codeaurora.org>
Signed-off-by: default avatarShantanu Jain <shjain@codeaurora.org>
parent e33d58ed
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