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

Skip to content
Commit 54865848 authored by Praneeth Paladugu's avatar Praneeth Paladugu
Browse files

msm: vidc: Fix race condition in STOP command



When clients send ETB's to driver, driver may defer them due
to instance not being moved to START_DONE yet. But the Stop
command may send ETB directly to HW without instance moving
to START_DONE. This results in unknown behavior from HW.
Hence before sending EOS ETB to HW, check the state. If not
reached right state, defer it same as ETB. Send these pending
EOS buffers when inst moved to START_DONE after sending pending
ETB's.

CRs-Fixed: 2095440
Change-Id: I510373ee8b13a13d8841171fd074b161ca8f5fd4
Signed-off-by: default avatarPraneeth Paladugu <ppaladug@codeaurora.org>
parent 2f89b761
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