From b1486add347c1189bad38203b45ee1d57dec4438 Mon Sep 17 00:00:00 2001 From: Cho KyongHo Date: Thu, 18 Jan 2018 17:49:35 +0900 Subject: [PATCH] g2d: delete timer before initialization Change-Id: I20e08cb2ec0e4cb9760a3bd29acada138fbcf231 Signed-off-by: Cho KyongHo --- drivers/gpu/exynos/g2d/g2d_task.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/exynos/g2d/g2d_task.c b/drivers/gpu/exynos/g2d/g2d_task.c index 0a6d0f01e9b9..571534ece1a7 100644 --- a/drivers/gpu/exynos/g2d/g2d_task.c +++ b/drivers/gpu/exynos/g2d/g2d_task.c @@ -183,6 +183,8 @@ static void g2d_execute_task(struct g2d_device *g2d_dev, struct g2d_task *task) list_move_tail(&task->node, &g2d_dev->tasks_active); change_task_state_active(task); + del_timer(&task->timer); + setup_timer(&task->timer, g2d_hw_timeout_handler, (unsigned long)task); -- 2.20.1