[COMMON] media: scaler: change clk request sequence
authorJanghyuck Kim <janghyuck.kim@samsung.com>
Fri, 27 Apr 2018 04:30:48 +0000 (13:30 +0900)
committerJanghyuck Kim <janghyuck.kim@samsung.com>
Mon, 23 Jul 2018 05:39:39 +0000 (14:39 +0900)
CLK request should be the first before scaler S/W reset.

Change-Id: I4e0133e141a6fd8ba79bf5b5c749a337775e6926
Signed-off-by: Janghyuck Kim <janghyuck.kim@samsung.com>
drivers/media/platform/exynos/scaler/scaler-core.c

index 16ae31a782a8799f0995f751130d44793ea72ff0..becfd6dca56b1d690365836697b66a819649360f 100644 (file)
@@ -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);