cnss2: Add code to notify mhi about link down
Add code to notify mhi about link down.In scenario of link down recovery failure with SSR enabled, cnss-daemon posts a QMI req during subsystem shutdown execution, the mhi layer tries to access doorbell register to process the qmi msg but it leads to NOC error as pci link is down. So added code to notify mhi about link down to avoid NOC error. Change-Id: I3ccc2cbda37e271f14f3821bb055db3107dac228
Этот коммит содержится в:
@@ -1653,6 +1653,8 @@ static void cnss_pci_handle_linkdown(struct cnss_pci_data *pci_priv)
|
||||
}
|
||||
pci_priv->pci_link_down_ind = true;
|
||||
spin_unlock_irqrestore(&pci_link_down_lock, flags);
|
||||
/* Notify MHI about link down*/
|
||||
mhi_report_error(pci_priv->mhi_ctrl);
|
||||
|
||||
if (pci_dev->device == QCA6174_DEVICE_ID)
|
||||
disable_irq(pci_dev->irq);
|
||||
|
Ссылка в новой задаче
Block a user