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

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

leds: aw2013_led: fix issue led->vdd/vcc is NULL



kernel panic from as the led->vdd passed from the aw2013_power_on is NULL
hence panic. vdd/vcc instance are only assigned to red led, need to use the
led instance in pdata to make sure the vdd/vcc instances are valid.

This patch is propagated from msm-3.10 kernel.
(commit: I908feffa52194b5f4502200bf13e911e0ddbb933)
leds: aw2013_led: fix issue led->vdd/vcc is NULL

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