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

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

Merge "icnss2: Fix race condition during SOC wake req/release"

parents 5efe1606 4fdb5b1f
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -2347,12 +2347,6 @@ int icnss_force_wake_request(struct device *dev)

	icnss_pr_dbg("Calling SOC Wake request");

	if (atomic_read(&priv->soc_wake_ref_count)) {
		count = atomic_inc_return(&priv->soc_wake_ref_count);
		icnss_pr_dbg("SOC already awake, Ref count: %d", count);
		return 0;
	}

	icnss_soc_wake_event_post(priv, ICNSS_SOC_WAKE_REQUEST_EVENT,
				  0, NULL);