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

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

Merge "icnss: Remove vote for hardware resources when FW is not down"

parents 40dd625b 16c89c35
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1111,6 +1111,9 @@ static int icnss_hw_power_off(struct icnss_priv *priv)
	if (test_bit(HW_ALWAYS_ON, &quirks))
		return 0;

	if (test_bit(ICNSS_FW_DOWN, &priv->state))
		return 0;

	icnss_pr_dbg("HW Power off: 0x%lx\n", priv->state);

	spin_lock(&priv->on_off_lock);