mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
msm: camera: sync: correcting atomic read operation
This change rectifies the reading of atomic variable. CRs-Fixed: 2591537 Change-Id: I13c289bc00a07d5c2289e2e3f13245bbc521d4ee Signed-off-by: Alok Pandey <akumarpa@codeaurora.org>
This commit is contained in:
parent
b08e2b4099
commit
cc79abb0a5
1 changed files with 1 additions and 1 deletions
|
|
@ -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]);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue