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

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

Merge "cnss2: Do not force collect dump during driver loading/unloading"

parents 2b8bfdf0 85bd8c26
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1079,6 +1079,12 @@ int cnss_force_collect_rddm(struct device *dev)
		return 0;
	}

	if (test_bit(CNSS_DRIVER_LOADING, &plat_priv->driver_state) ||
	    test_bit(CNSS_DRIVER_UNLOADING, &plat_priv->driver_state)) {
		cnss_pr_info("Loading/Unloading is in progress, ignore forced collect rddm\n");
		return 0;
	}

	ret = cnss_bus_force_fw_assert_hdlr(plat_priv);
	if (ret)
		return ret;