From 6041b521feeb8552287dcc393ef72d18b4bb80dc Mon Sep 17 00:00:00 2001 From: Won Jung Date: Wed, 3 Aug 2016 15:17:44 +0900 Subject: [PATCH] [COMMON] media: scaler: Remove smc call for cfw Do not need smc call for cfw in KC Change-Id: Ibc546cecfd3340d5da076659e23f858ed5b8dd05 Signed-off-by: Won Jung --- drivers/media/platform/exynos/scaler/scaler-core.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/drivers/media/platform/exynos/scaler/scaler-core.c b/drivers/media/platform/exynos/scaler/scaler-core.c index 4068f913fa73..e4f86d5babc6 100644 --- a/drivers/media/platform/exynos/scaler/scaler-core.c +++ b/drivers/media/platform/exynos/scaler/scaler-core.c @@ -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) -- 2.20.1