Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b57c8ca2 authored by Sowmya Pandiri's avatar Sowmya Pandiri Committed by Gerrit - the friendly Code Review server
Browse files

msm: vidc: Do not enable power if close is called during SYS_ERROR handling



If msm_vidc_close() is called while sys error handling is in progress
and before firmware gets loaded, then power_on() will be called in
venus HFI. As the instance and core are still in invalid state,
we end up calling __unvote_buses() that accesses NULL device pointer
causing kernel panic. This change will address the race condition.

Change-Id: If3d815c12f425bd7b4262a43f1c9741f46a8b62f
CRs-Fixed: 857826
Signed-off-by: default avatarSowmya Pandiri <spandiri@codeaurora.org>
parent 4c47f344
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment