From 801fceb794681d3b28475a30cc350c4fb12f1fb9 Mon Sep 17 00:00:00 2001 From: Janghyuck Kim Date: Fri, 27 Apr 2018 13:30:48 +0900 Subject: [PATCH] [COMMON] media: scaler: change clk request sequence CLK request should be the first before scaler S/W reset. Change-Id: I4e0133e141a6fd8ba79bf5b5c749a337775e6926 Signed-off-by: Janghyuck Kim --- drivers/media/platform/exynos/scaler/scaler-core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/media/platform/exynos/scaler/scaler-core.c b/drivers/media/platform/exynos/scaler/scaler-core.c index 16ae31a782a8..becfd6dca56b 100644 --- a/drivers/media/platform/exynos/scaler/scaler-core.c +++ b/drivers/media/platform/exynos/scaler/scaler-core.c @@ -2665,8 +2665,8 @@ static int sc_run_next_job(struct sc_dev *sc) s_frame = &ctx->s_frame; d_frame = &ctx->d_frame; - sc_hwset_init(sc); sc_hwset_clk_request(sc, true); + sc_hwset_init(sc); if (ctx->i_frame) { set_bit(CTX_INT_FRAME, &ctx->flags); -- 2.20.1