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

Skip to content
Commit 47f80b32 authored by Maheshwar Ajja's avatar Maheshwar Ajja
Browse files

msm: vidc: kill session without acquiring lock



Mutex lock q->lock was already acquired before calling
start_streaming() so calling msm_comm_kill_session() from
inside start_streaming() may result in abort timeout error.
Kill session will send abort to firmware and waits for
abort done response which may not be processed ever if
response handler thread tries to acquire same q->lock.
All timeout errors are treated as fatal error so avoid
timeout error by moving msm_comm_kill_session() from inside
start_streaming() to after releasing q->lock functionality.

CRs-Fixed: 2135048
Change-Id: I01b25bb76b7191cf4df656a9b05363ea3529bdb9
Signed-off-by: default avatarMaheshwar Ajja <majja@codeaurora.org>
parent 099e9fc7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment