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

Unverified Commit 23d03fa2 authored by Monika Singh's avatar Monika Singh Committed by Michael Bestas
Browse files

qseecom: Add flush_work based on flag



As INIT_WORK during suspend resume path is
only supported with bus scaling support
hence use the same check for flush_work.

Change-Id: I5172d574a2bc33a1cdba1fead7e6c4208648448c
Signed-off-by: default avatarMonika Singh <monising@codeaurora.org>
parent c5394cf2
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -9755,6 +9755,7 @@ static int qseecom_suspend(struct platform_device *pdev, pm_message_t state)

	mutex_unlock(&clk_access_lock);
	mutex_unlock(&qsee_bw_mutex);
	if (qseecom.support_bus_scaling)
		cancel_work_sync(&qseecom.bw_inactive_req_ws);

	return 0;