Loading
msm: vidc: Protect suspend operation with core lock
Video driver may recieve suspend command at any time. Processing
this command in middle of FW unloading causes race conditions
between power collpase and fw_unload threads. Hence protect both
operations with core->lock.
Change-Id: I9beb79d610545b772dfc8877a3891e5e054c0f79
Signed-off-by:
Praneeth Paladugu <ppaladug@codeaurora.org>