mirror of
https://github.com/torvalds/linux.git
synced 2026-07-31 11:37:06 +02:00
bus: mhi: misc: DTR race condition updates
Data terminal ready driver should not be started until other client drivers are probed so that they can get the necessary notifications when updates are made available to them by the device via incoming messages. Adjust flow of the driver and ensure DTR driver starts after all other devices are created by core driver. Change-Id: I9e0bcb87a3b59a66fede0c82ded94a704d16c2a1 Signed-off-by: Bhaumik Bhatt <quic_bbhatt@quicinc.com> Signed-off-by: Lazarus Motha <quic_lmotha@quicinc.com>
This commit is contained in:
parent
1c0cd2d26a
commit
09138d7384
|
|
@ -437,7 +437,6 @@ static int mhi_pm_mission_mode_transition(struct mhi_controller *mhi_cntrl)
|
|||
|
||||
read_unlock_bh(&mhi_cntrl->pm_lock);
|
||||
|
||||
mhi_misc_mission_mode(mhi_cntrl);
|
||||
mhi_process_sleeping_events(mhi_cntrl);
|
||||
|
||||
/*
|
||||
|
|
@ -445,6 +444,7 @@ static int mhi_pm_mission_mode_transition(struct mhi_controller *mhi_cntrl)
|
|||
* Execution Environment (EE) to either SBL or AMSS states
|
||||
*/
|
||||
mhi_create_devices(mhi_cntrl);
|
||||
mhi_misc_mission_mode(mhi_cntrl);
|
||||
|
||||
read_lock_bh(&mhi_cntrl->pm_lock);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user