Commit 6f556a5f authored by Wayne Zou's avatar Wayne Zou

ENGR00221203-1 IPU Device: Avoid release resource twice when timeout

Avoid release resource twice when timeout happen.
Signed-off-by: default avatarWayne Zou <b36644@freescale.com>
parent c6f69925
......@@ -2948,10 +2948,6 @@ out:
spin_unlock_irqrestore(&ipu_task_list_lock, flags);
if (!tsk->ipu)
continue;
if (STATE_IN_PROGRESS == tsk->state) {
do_task_release(tsk, 1);
put_vdoa_ipu_res(tsk, 0);
}
if (tsk->state != STATE_OK) {
dev_err(tsk->dev,
"ERR:[0x%p] no-0x%x,id:%d, sp_tsk state: %s\n",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment