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

Commit d381c52d 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 fca42087 259bb5cc
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1090,6 +1090,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;