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

Commit 3aa4b1b1 authored by Alok Pandey's avatar Alok Pandey Committed by Gerrit - the friendly Code Review server
Browse files

msm: camera: sync: correcting atomic read operation



This change rectifies the reading of atomic variable.

CRs-Fixed: 2591537
Change-Id: I13c289bc00a07d5c2289e2e3f13245bbc521d4ee
Signed-off-by: default avatarAlok Pandey <akumarpa@codeaurora.org>
parent cc986419
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -38,7 +38,7 @@ static void cam_sync_print_fence_table(void)
			sync_dev->sync_table[idx].name,
			sync_dev->sync_table[idx].type,
			sync_dev->sync_table[idx].state,
			sync_dev->sync_table[idx].ref_cnt);
			atomic_read(&sync_dev->sync_table[idx].ref_cnt));
		spin_unlock_bh(&sync_dev->row_spinlocks[idx]);
	}
}