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

Skip to content
Commit 3dc7ec48 authored by Sujeev Dias's avatar Sujeev Dias Committed by Gerrit - the friendly Code Review server
Browse files

mhi: core: release pm_lock before removing MHI devices



During MHI shutdown deadlock could occur between device remove
and device probe.  During remove, MHI host aquire pm_lock and
attempts to grab device lock while in probe, base driver acquire
device lock and attempts to grab pm lock. To avoid this dead lock,
release pm lock before removing devices.

CRs-Fixed: 2359701
Change-Id: I1fa28e3bc6104fd5de95d7ee82dd4a2bc1b9905f
Signed-off-by: default avatarSujeev Dias <sdias@codeaurora.org>
parent 4e3c5e9b
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