Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0d384b92 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "cnss2: Add code to notify mhi about link down"

parents 3f7b2910 8a0fdd81
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1287,6 +1287,9 @@ 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_control_error(pci_priv->mhi_ctrl);

	if (pci_dev->device == QCA6174_DEVICE_ID)
		disable_irq(pci_dev->irq);