From: Janghyuck Kim Date: Fri, 27 Apr 2018 04:30:48 +0000 (+0900) Subject: [COMMON] media: scaler: change clk request sequence X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=801fceb794681d3b28475a30cc350c4fb12f1fb9;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [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 --- 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);