From e1210218b06f6eb4b9f2ac8fd9a13d5f51d0b714 Mon Sep 17 00:00:00 2001 From: Wayne Zou Date: Thu, 23 Aug 2012 14:54:46 +0800 Subject: [PATCH] ENGR00221203-1 IPU Device: Avoid release resource twice when timeout Avoid release resource twice when timeout happen. Signed-off-by: Wayne Zou --- drivers/mxc/ipu3/ipu_device.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/mxc/ipu3/ipu_device.c b/drivers/mxc/ipu3/ipu_device.c index 308b8cba7ef7..60fb3defd57d 100644 --- a/drivers/mxc/ipu3/ipu_device.c +++ b/drivers/mxc/ipu3/ipu_device.c @@ -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", -- 2.39.5