diff options
author | Daniel Solomon <daniels@nvidia.com> | 2014-08-14 17:50:15 -0700 |
---|---|---|
committer | Winnie Hsu <whsu@nvidia.com> | 2014-09-18 11:13:51 -0700 |
commit | ed69dc2adccd7cec79c724c2269a7c4cc6c0a74e (patch) | |
tree | 6fb48d2fa5f24403dddbfffdc552a36f749add56 /sound | |
parent | 7ea8e5317c76e8618e011af1c951b00ab7ac5403 (diff) |
video: tegra: dc: Avoid FRAME_END_INT conflict
Allowing for dc->lock to be acquired by the
caller in function tegra_dc_config_frame_end_intr
can result in FRAME_END_INT mask register being
overwritten if the lock is actually acquired by
another thread.
Refactor the critical section into its own function
and allow callers to call either function. Also
Change the name of tegra_dc_wait_for_frame_end
to indicate that it should be called with dc->lock
locked.
Bug 1534724
Change-Id: I87b1fc529f29f707a1bdadf18efa6bb19d6966b3
Signed-off-by: Daniel Solomon <daniels@nvidia.com>
Reviewed-on: http://git-master/r/456988
(cherry picked from commit ec9b7f555b9648e3aee0cd9781a92b14178a3344)
Reviewed-on: http://git-master/r/496581
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Jong Kim <jongk@nvidia.com>
Reviewed-by: Matthew Pedro <mapedro@nvidia.com>
Reviewed-by: Jon Mayo <jmayo@nvidia.com>
Reviewed-by: Bibek Basu <bbasu@nvidia.com>
Tested-by: Bibek Basu <bbasu@nvidia.com>
Reviewed-by: Venkat Moganty <vmoganty@nvidia.com>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions