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

Commit 06f64a4f authored by Alok Chauhan's avatar Alok Chauhan
Browse files

msm: camera_v3: smmu: Fix variable type uses



Address of variable is used in place of actual variable
as input to check condition while freeing up the secure
context bank handles.

Change-Id: Iaa43439bc7ccf9c9866d137945376335241e8ada
Signed-off-by: default avatarAlok Chauhan <alokc@codeaurora.org>
parent cc611d16
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3099,7 +3099,7 @@ int cam_smmu_destroy_handle(int handle)
		cam_smmu_clean_kernel_buffer_list(idx);
	}

	if (&iommu_cb_set.cb_info[idx].is_secure) {
	if (iommu_cb_set.cb_info[idx].is_secure) {
		if (iommu_cb_set.cb_info[idx].secure_count == 0) {
			mutex_unlock(&iommu_cb_set.cb_info[idx].lock);
			return -EPERM;