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

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

Merge "cnss2: Use uninterruptible wait for idle shutdown/restart work"

parents 9f38dc43 1dd672bf
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -654,7 +654,7 @@ int cnss_idle_restart(struct device *dev)

	ret = cnss_driver_event_post(plat_priv,
				     CNSS_DRIVER_EVENT_IDLE_RESTART,
				     CNSS_EVENT_SYNC, NULL);
				     CNSS_EVENT_SYNC_UNINTERRUPTIBLE, NULL);
	if (ret)
		goto out;

@@ -708,7 +708,7 @@ int cnss_idle_shutdown(struct device *dev)
skip_wait:
	return cnss_driver_event_post(plat_priv,
				      CNSS_DRIVER_EVENT_IDLE_SHUTDOWN,
				      CNSS_EVENT_SYNC, NULL);
				      CNSS_EVENT_SYNC_UNINTERRUPTIBLE, NULL);
}
EXPORT_SYMBOL(cnss_idle_shutdown);