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

Skip to content
Commit b101ff3a authored by Bhaumik Bhatt's avatar Bhaumik Bhatt
Browse files

mhi: core: block unbind from userspace till channel reset



MHI clients can unbind driver from userspace while a channel
is active with ongoing transfers. As we can only do host side
clean-up of the channel without sending a reset channel command
to the device, a kernel panic could occur due to incoming
packets if we proceed. Wait until the client unprepares the
channel or device goes to an error state.

Change-Id: I400cbf799d96fb7bc05df4c568593e12e9dc41f1
Signed-off-by: default avatarBhaumik Bhatt <bbhatt@codeaurora.org>
parent 41ded75b
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