Commit 60d84f1f authored by Tri Dung Le's avatar Tri Dung Le Committed by Gerrit - the friendly Code Review server
Browse files

mhi: MHI channel must be unprepared before driver data is nullified



There can be a race condition between driver data is nullified vs in progress flight transfer.
When a driver is removed, there might be some ongoing transfer.
Call mhi_unprepare_from_transfer() to make sure that MHI channel is reset and no more pending transfers remains.

Change-Id: I4ff91530cdbe16452bf6302e831e8d88583d72fa
Signed-off-by: default avatarTri Dung Le <quic_tridle@quicinc.com>
parent 1314f63c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment