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

Skip to content
Commit a3648729 authored by Mao Li's avatar Mao Li Committed by Gerrit - the friendly Code Review server
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.

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