Re: [PATCH 03/25] drm/exynos: gsc: prepare and unprepare gsc clock

2015-11-12 Thread Gustavo Padovan
Hi Marek,

2015-11-10 Marek Szyprowski :

> From: Seung-Woo Kim 
> 
> Ths patch changes the clk_enable and clk_disable call in gsc driver
> into clk_prepare_enable and clk_disable_unprepare.
> 
> Signed-off-by: Seung-Woo Kim 
> Signed-off-by: Marek Szyprowski 
> ---
>  drivers/gpu/drm/exynos/exynos_drm_gsc.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Gustavo Padovan 

Gustavo
--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH 03/25] drm/exynos: gsc: prepare and unprepare gsc clock

2015-11-10 Thread Marek Szyprowski
From: Seung-Woo Kim 

Ths patch changes the clk_enable and clk_disable call in gsc driver
into clk_prepare_enable and clk_disable_unprepare.

Signed-off-by: Seung-Woo Kim 
Signed-off-by: Marek Szyprowski 
---
 drivers/gpu/drm/exynos/exynos_drm_gsc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/gpu/drm/exynos/exynos_drm_gsc.c 
b/drivers/gpu/drm/exynos/exynos_drm_gsc.c
index 11b87d2a7913..72a9c84e06b6 100644
--- a/drivers/gpu/drm/exynos/exynos_drm_gsc.c
+++ b/drivers/gpu/drm/exynos/exynos_drm_gsc.c
@@ -1215,10 +1215,10 @@ static int gsc_clk_ctrl(struct gsc_context *ctx, bool 
enable)
DRM_DEBUG_KMS("enable[%d]\n", enable);
 
if (enable) {
-   clk_enable(ctx->gsc_clk);
+   clk_prepare_enable(ctx->gsc_clk);
ctx->suspended = false;
} else {
-   clk_disable(ctx->gsc_clk);
+   clk_disable_unprepare(ctx->gsc_clk);
ctx->suspended = true;
}
 
-- 
1.9.2

--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html