msm: vidc: release sync_lock before waiting on command response
video driver is waiting for command response after acquiring
sync_lock resulting in deadlock if video hardware response
is RELEASE BUFFER REFERENCE (before command done response)
because response thread is trying to acquire the same sync_lock.
Fix the deadlock by releasing the sync_lock before waiting on
command response in video driver.
Change-Id: Icd608f011a9f952ea3dbcededf2e3558430a69e3
Signed-off-by: Maheshwar Ajja <majja@codeaurora.org>
1 file changed