From: Seung-Woo Kim Date: Mon, 30 Nov 2015 13:53:17 +0000 (+0100) Subject: drm/exynos: gsc: fix wrong pm_runtime state X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c155fb56399fcbb2214051c1e07061311d02c300;p=linux-beck.git drm/exynos: gsc: fix wrong pm_runtime state 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 Signed-off-by: Marek Szyprowski Reviewed-by: Gustavo Padovan Signed-off-by: Inki Dae --- diff --git a/drivers/gpu/drm/exynos/exynos_drm_gsc.c b/drivers/gpu/drm/exynos/exynos_drm_gsc.c index 72a9c84e06b6..ed55d37b6330 100644 --- a/drivers/gpu/drm/exynos/exynos_drm_gsc.c +++ b/drivers/gpu/drm/exynos/exynos_drm_gsc.c @@ -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);