video: tegra: host: fix sparse warning context imbalance
nvhost_intr.c +87: warning: context imbalance in
'process_wait_list' - unexpected unlock
nvost_intr.c +87: warning: context imbalance in
'nvhost_intr_has_pending_jobs' - unexpected unlock
nvhost_intr.c +87: warning: context imbalance in
'nvhost_intr_add_action' - unexpected unlock
sparse reports context imbalance warnings if there is mismatch in
count of lock/unlock in given context. Here lock is acquired in one
context and released in other context which is expected behaviour.
So annonate function declaration with __acquires and __release to inform
sparse.
Bug
200032218
Change-Id: I14a77fbacfeb64b91941c29316e12d5f71795f5a
Signed-off-by: Shridhar Rasal <srasal@nvidia.com>
Reviewed-on: http://git-master/r/554832
Reviewed-by: Sachin Nikam <snikam@nvidia.com>
Tested-by: Sachin Nikam <snikam@nvidia.com>