drm/exynos: gsc: fix wrong pm_runtime state
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Mon, 30 Nov 2015 13:53:17 +0000 (14:53 +0100)
committerInki Dae <daeinki@gmail.com>
Sun, 13 Dec 2015 13:22:52 +0000 (22:22 +0900)
At probe time, gsc clock is not enabled, so pm_runtime state should
be deactive. So this patch removes pm_runtime_set_active() from
gsc_probe().

Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_gsc.c

index 72a9c84e06b636c346fd51487b0a81c4925ff2eb..ed55d37b63308d35b980b91bb59be6f56ba3f25a 100644 (file)
@@ -1713,7 +1713,6 @@ static int gsc_probe(struct platform_device *pdev)
        mutex_init(&ctx->lock);
        platform_set_drvdata(pdev, ctx);
 
-       pm_runtime_set_active(dev);
        pm_runtime_enable(dev);
 
        ret = exynos_drm_ippdrv_register(ippdrv);