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

Commit 4904b11a authored by Prateek Shrivastava's avatar Prateek Shrivastava Committed by Gerrit - the friendly Code Review server
Browse files

msm: vidc: Remove core lock during power suspend



Device lock already protects hfi until power
suspend operation is completed.

CRs-Fixed: 2183117
Change-Id: Iace8b2b0350027b600f76f43a3659ddc4c33277e
Signed-off-by: default avatarPrateek Shrivastava <pshrivas@codeaurora.org>
parent fb2f4d7c
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -3296,11 +3296,9 @@ int msm_comm_suspend(int core_id)
		return -EINVAL;
	}

	mutex_lock(&core->lock);
	rc = call_hfi_op(hdev, suspend, hdev->hfi_device_data);
	if (rc)
		dprintk(VIDC_WARN, "Failed to suspend\n");
	mutex_unlock(&core->lock);

	return rc;
}