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

Skip to content
Commit 567b986a authored by Kiran Gunda's avatar Kiran Gunda Committed by Gerrit - the friendly Code Review server
Browse files

power: smb1398: Update adapter_type in the work-queue's context



There is mutex deadlock where the adapter_type is read in the
context of a call-back from the main-charger driver. Fix it by
moving it to the status_change work and using a local variable
to hold the type.

Change-Id: Id112097f70fbfb13acc368e9787cf6a0c3a1acff
Signed-off-by: default avatarKiran Gunda <kgunda@codeaurora.org>
parent 198d27fa
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