mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-14 00:24:41 -04:00
mhi: core: Notify all mhi client's for PCIe link down recovery
send early notification to all MHI clients devices on PCIe linkdown recovery when device supports RDDM dumps. so all client channels registered to MHI will receive completion event. Change-Id: I3c25d69b7d43afe2701fe5fae705533faf6f4dd1 Signed-off-by: Vivek Pernamitta <vpernami@codeaurora.org>
This commit is contained in:
parent
9585c2cb84
commit
b8159e3b1a
1 changed files with 2 additions and 2 deletions
|
|
@ -1063,8 +1063,8 @@ void mhi_control_error(struct mhi_controller *mhi_cntrl)
|
|||
sfr_info->buf_addr);
|
||||
}
|
||||
|
||||
/* link is not down if device is in RDDM */
|
||||
transition_state = (mhi_cntrl->ee == MHI_EE_RDDM) ?
|
||||
/* link is not down if device supports RDDM */
|
||||
transition_state = (mhi_cntrl->rddm_supported) ?
|
||||
MHI_PM_DEVICE_ERR_DETECT : MHI_PM_LD_ERR_FATAL_DETECT;
|
||||
|
||||
write_lock_irq(&mhi_cntrl->pm_lock);
|
||||
|
|
|
|||
Loading…
Reference in a new issue