diff options
author | Gagan Grover <ggrover@nvidia.com> | 2016-11-22 15:43:19 +0530 |
---|---|---|
committer | Winnie Hsu <whsu@nvidia.com> | 2018-02-06 10:27:01 -0800 |
commit | 0fd9a32f3a6796791b4fe93bfbc05df4d4bf646e (patch) | |
tree | c961d4042ea87bd05f43b103ff588a248fca297e /arch | |
parent | b210c724aea24160a5fdcec5ee9b8f9c86c8540d (diff) |
video: tegra: host: use lock to get syncpt name
Use sp->syncpt_mutex lock to get syncpt name in
syncpt_name_show()
Without the lock, it is possible for user to read
syncpt name in corrupted state if user read
coincides with syncpt free
Bug 1838598
Bug 1883567
Change-Id: I69ca5c1d80adaca4b93a337fe4a5debeb78f34fc
Reviewed-on: http://git-master/r/1252580
Signed-off-by: Gagan Grover <ggrover@nvidia.com>
Reviewed-on: http://git-master/r/1258020
(cherry picked from commit 9a7d12e49ca6c627dff2dc4c15fa9ba153e9265d in rel-24)
Reviewed-on: https://git-master.nvidia.com/r/1513005
Signed-off-by: Debarshi Dutta <ddutta@nvidia.com>
Reviewed-on: https://git-master.nvidia.com/r/1650064
Reviewed-by: Automatic_Commit_Validation_User
GVS: Gerrit_Virtual_Submit
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions