From: Cho KyongHo Date: Thu, 18 Jan 2018 08:49:35 +0000 (+0900) Subject: g2d: delete timer before initialization X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b1486add347c1189bad38203b45ee1d57dec4438;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git g2d: delete timer before initialization Change-Id: I20e08cb2ec0e4cb9760a3bd29acada138fbcf231 Signed-off-by: Cho KyongHo --- 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);