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

Commit 9d9f6ceb authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "cnss2: Do not handle MHI device error during driver unloading"

parents fb7acb3f 73f59a2f
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -1851,6 +1851,11 @@ static void cnss_mhi_notify_status(struct mhi_controller *mhi_ctrl, void *priv,

	cnss_pr_dbg("MHI status cb is called with reason %d\n", reason);

	if (test_bit(CNSS_DRIVER_UNLOADING, &plat_priv->driver_state)) {
		cnss_pr_dbg("Driver unload is in progress, ignore device error\n");
		return;
	}

	if (pci_priv->driver_ops && pci_priv->driver_ops->update_status)
		pci_priv->driver_ops->update_status(pci_priv->pci_dev,
						    CNSS_FW_DOWN);