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

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

Merge "cnss2: Force firmware assert based on context"

parents 8109c621 01007cee
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -1046,9 +1046,12 @@ int cnss_force_fw_assert(struct device *dev)
		return 0;
	}

	if (in_interrupt() || irqs_disabled())
		cnss_driver_event_post(plat_priv,
				       CNSS_DRIVER_EVENT_FORCE_FW_ASSERT,
				       0, NULL);
	else
		cnss_bus_force_fw_assert_hdlr(plat_priv);

	return 0;
}