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

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

Merge "cnss2: Fix un-initialized RDDM completion"

parents 0e9ab248 1632a90a
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1601,6 +1601,7 @@ static int cnss_misc_init(struct cnss_plat_data *plat_priv)

	init_completion(&plat_priv->power_up_complete);
	init_completion(&plat_priv->cal_complete);
	init_completion(&plat_priv->rddm_complete);
	mutex_init(&plat_priv->dev_lock);

	return 0;
@@ -1608,6 +1609,7 @@ static int cnss_misc_init(struct cnss_plat_data *plat_priv)

static void cnss_misc_deinit(struct cnss_plat_data *plat_priv)
{
	complete_all(&plat_priv->rddm_complete);
	complete_all(&plat_priv->cal_complete);
	complete_all(&plat_priv->power_up_complete);
	device_init_wakeup(&plat_priv->plat_dev->dev, false);