mirror of
https://github.com/torvalds/linux.git
synced 2026-07-31 03:27:03 +02:00
bus: mhi: host: Address pending BW requests for legacy mode
It cannot be guaranteed that certain legacy mode controllers stay in M0 while a BW request is being processed. Ensure that those pending BW requests are addressed when M0 entry occurs after a BW request is processed but not responded to. Change-Id: I15ebc4e61e59ceeb5e8740b60bb95606945b0b3c Signed-off-by: Bhaumik Bhatt <bbhatt@codeaurora.org> Signed-off-by: Lazarus Motha <quic_lmotha@quicinc.com>
This commit is contained in:
parent
b5c5f9c659
commit
2a3dece5e1
|
|
@ -298,6 +298,8 @@ int mhi_pm_m0_transition(struct mhi_controller *mhi_cntrl)
|
|||
if (mhi_cmd->ring.rp != mhi_cmd->ring.wp)
|
||||
mhi_ring_cmd_db(mhi_cntrl, mhi_cmd);
|
||||
spin_unlock_irq(&mhi_cmd->lock);
|
||||
/* ring misc doorbells for certain controllers */
|
||||
mhi_misc_dbs_pending(mhi_cntrl);
|
||||
}
|
||||
|
||||
/* Ring channel DB registers */
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user