diff options
author | Wayne Zou <b36644@freescale.com> | 2012-08-23 14:54:46 +0800 |
---|---|---|
committer | Eric Nelson <eric.nelson@boundarydevices.com> | 2012-08-28 09:51:37 -0700 |
commit | 5a43e882cf54fd123952f2b310b8aff63a507cbb (patch) | |
tree | a7d6013f0c7a7112a9d5315e36be934f15a6e543 | |
parent | 57d81bd447f9f01fed559c56271591f2daeed92a (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>
-rw-r--r-- | drivers/mxc/ipu3/ipu_device.c | 4 |
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", |