Commit c9e7db93 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 f4f8ad3a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment