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

Skip to content
Commit d4b68e76 authored by Sujeev Dias's avatar Sujeev Dias
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 acquires pm_lock and
attempts to grab device lock while in probe, base driver acquires
device lock and attempts to grab pm lock. To avoid this deadlock,
release pm lock before removing devices.

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