summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorWayne Zou <b36644@freescale.com>2012-08-23 14:54:46 +0800
committerWayne Zou <b36644@freescale.com>2012-08-24 16:02:33 +0800
commit6f556a5f831059fdb389143fa112d60004216153 (patch)
treec5cefad874842b6cc7fda5f2c1bc6e7709ec51ab /drivers
parentc6f69925f9d1f39ccc8c6fcc583122fcf03c105c (diff)
ENGR00221203-1 IPU Device: Avoid release resource twice when timeout
Avoid release resource twice when timeout happen. Signed-off-by: Wayne Zou <b36644@freescale.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mxc/ipu3/ipu_device.c4
1 files changed, 0 insertions, 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",