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

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

mhi: core: unlink MHI device from MHI chan during device release



During MHI shutdown, we destroy all MHI devices that are tied to
MHI controller. During that process we unbind drivers from devices
if there is a register driver. In same function we unlink MHI
device from MHI channel. Since, not all devices have a registered
driver unlinking does not occur. If unlinking does not occur, we
do not create new devices during next power up sequence. Move
unlinking to release function to guarantee unlink always occur
during MHI shutdown.

CRs-Fixed: 2323691
Change-Id: I00b2761d1cc8015f5634242c669a5844be2d9c83
Acked-by: default avatarBhaumik Vasav Bhatt <bbhatt@qti.qualcomm.com>
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