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

Commit 299a6262 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "qseecom: Just check current bus scaling mode in qseecom_suspend"

parents 0b0c311f b77ae70c
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -5451,8 +5451,7 @@ static int qseecom_suspend(struct platform_device *pdev, pm_message_t state)
	mutex_lock(&qsee_bw_mutex);
	mutex_lock(&clk_access_lock);

	if (qseecom.cumulative_mode != INACTIVE &&
		qseecom.current_mode != INACTIVE) {
	if (qseecom.current_mode != INACTIVE) {
		ret = msm_bus_scale_client_update_request(
			qseecom.qsee_perf_client, INACTIVE);
		if (ret)