mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
msm: cvp: A fix of cvp issue in camera
Fix the wrong synx array index use. Change-Id: I0f4847fb2e14221319b07efa211428e98dc16b81 Signed-off-by: George Shen <sqiao@codeaurora.org>
This commit is contained in:
parent
96cd181257
commit
8deb5e715e
1 changed files with 5 additions and 1 deletions
|
|
@ -343,6 +343,10 @@ static int cvp_fence_dme(struct msm_cvp_inst *inst, u32 *synx,
|
|||
dprintk(CVP_DBG, "%s %s: cvp_wait_process_message flushed\n",
|
||||
current->comm, __func__);
|
||||
synx_state = SYNX_STATE_SIGNALED_CANCEL;
|
||||
} else if (hfi_err == HFI_ERR_SESSION_STREAM_CORRUPT) {
|
||||
dprintk(CVP_ERR, "%s %s: cvp_wait_process_msg non-fatal %d\n",
|
||||
current->comm, __func__, hfi_err);
|
||||
synx_state = SYNX_STATE_SIGNALED_SUCCESS;
|
||||
} else if (hfi_err != HFI_ERR_NONE) {
|
||||
dprintk(CVP_ERR, "%s %s: cvp_wait_process_message hfi err %d\n",
|
||||
current->comm, __func__, hfi_err);
|
||||
|
|
@ -511,7 +515,7 @@ static int cvp_import_synx(struct msm_cvp_inst *inst, u32 type, u32 *fence,
|
|||
switch (type) {
|
||||
case HFI_CMD_SESSION_CVP_DME_FRAME:
|
||||
{
|
||||
start = 1;
|
||||
start = 0;
|
||||
end = HFI_DME_BUF_NUM;
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue