drm/exynos: ipp: remove duplicated setting
authorYoungJun Cho <yj44.cho@samsung.com>
Mon, 26 May 2014 08:17:16 +0000 (10:17 +0200)
committerInki Dae <daeinki@gmail.com>
Sun, 1 Jun 2014 17:07:13 +0000 (02:07 +0900)
This patch removes duplicated setting.

Signed-off-by: YoungJun Cho <yj44.cho@samsung.com>
Acked-by: Seong-Woo Kim <sw0312.cho@samsung.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Tested-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_ipp.c

index c8cfa240c6be64239306fdddaa20fae9b923ccb1..09687778940d44ea0c645d2678f8dc5d369fdb28 100644 (file)
@@ -1090,12 +1090,12 @@ int exynos_drm_ipp_cmd_ctrl(struct drm_device *drm_dev, void *data,
        case IPP_CTRL_PLAY:
                if (pm_runtime_suspended(ippdrv->dev))
                        pm_runtime_get_sync(ippdrv->dev);
+
                c_node->state = IPP_STATE_START;
 
                cmd_work = c_node->start_work;
                cmd_work->ctrl = cmd_ctrl->ctrl;
                ipp_handle_cmd_work(dev, ippdrv, cmd_work, c_node);
-               c_node->state = IPP_STATE_START;
                break;
        case IPP_CTRL_STOP:
                cmd_work = c_node->stop_work;