Merge "mhi: core: Notify all mhi client's for PCIe link down recovery"

This commit is contained in:
qctecmdr 2021-07-05 03:02:07 -07:00 • committed by Gerrit - the friendly Code Review server
commit 7f2cb0175f

View file

@ -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);