From: Won Jung Date: Wed, 3 Aug 2016 06:17:44 +0000 (+0900) Subject: [COMMON] media: scaler: Remove smc call for cfw X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=6041b521feeb8552287dcc393ef72d18b4bb80dc;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [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 --- 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)