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

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

Merge "cnss2: Trigger runtime resume when DRV subsystem is disconnected"

parents ee51f5be 26348621
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1925,8 +1925,8 @@ static void cnss_pci_event_cb(struct msm_pcie_notify *notify)
		break;
	case MSM_PCIE_EVENT_DRV_DISCONNECT:
		cnss_pr_dbg("DRV subsystem is disconnected\n");
		cnss_pci_pm_runtime_get(pci_priv);
		cnss_pci_pm_runtime_put_noidle(pci_priv);
		if (cnss_pci_get_auto_suspended(pci_priv))
			cnss_pci_pm_request_resume(pci_priv);
		cnss_pci_set_drv_connected(pci_priv, 0);
		break;
	default: