mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 15:49:17 -04:00
msm: vidc: do not update inst state for map failure
Currently for map failure inst->state updated to MSM_VIDC_CORE_INVALID. So during flush driver issues session_abort to firmware. So firmware asserts and sends sys_error back. So added change to avoid updating inst->state. Change-Id: I30f90726d21cb13bf5a27dd3d259a8d026260746 Signed-off-by: Govindaraj Rajagopal <grajagop@codeaurora.org>
This commit is contained in:
parent
c8b1d08726
commit
b689990576
1 changed files with 3 additions and 1 deletions
|
|
@ -1267,7 +1267,9 @@ static void msm_vidc_buf_queue(struct vb2_buffer *vb2)
|
|||
|
||||
if (rc) {
|
||||
print_vb2_buffer("failed vb2-qbuf", inst, vb2);
|
||||
msm_comm_generate_session_error(inst);
|
||||
vb2_buffer_done(vb2, VB2_BUF_STATE_DONE);
|
||||
msm_vidc_queue_v4l2_event(inst,
|
||||
V4L2_EVENT_MSM_VIDC_SYS_ERROR);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue