[COMMON] media: scaler: Remove smc call for cfw
authorWon Jung <w00.jung@samsung.com>
Wed, 3 Aug 2016 06:17:44 +0000 (15:17 +0900)
committerSeungchul Kim <sc377.kim@samsung.com>
Mon, 28 May 2018 05:28:17 +0000 (14:28 +0900)
Do not need smc call for cfw in KC

Change-Id: Ibc546cecfd3340d5da076659e23f858ed5b8dd05
Signed-off-by: Won Jung <w00.jung@samsung.com>
drivers/media/platform/exynos/scaler/scaler-core.c

index 4068f913fa73f754c99cf7d020a8fa0a5bc8298f..e4f86d5babc6651bfb23b966e1dc77e5168138b8 100644 (file)
@@ -2639,14 +2639,6 @@ static int sc_run_next_job(struct sc_dev *sc)
                }
        }
 #ifdef CONFIG_EXYNOS_CONTENT_PATH_PROTECTION
-       if (sc->cfw) {
-               ret = exynos_smc(MC_FC_SET_CFW_PROT,
-                               MC_FC_DRM_SET_CFW_PROT,
-                               SC_SMC_PROTECTION_ID(sc->dev_id), 0);
-               if (ret != SMC_TZPC_OK)
-                       dev_err(sc->dev,
-                               "fail to set cfw protection (%d)\n", ret);
-       }
        if (ctx->cp_enabled) {
                ret = sc_ctrl_protection(sc, ctx, true);
                if (!ret)