From 87ee11049c9a4afcd7b7b2c11b2d3c4b559f54aa Mon Sep 17 00:00:00 2001 From: Sunmi Lee Date: Fri, 29 Jun 2018 15:36:46 +0900 Subject: [PATCH] [COMMON] fimc-is2: Moved the position of assignment of variable The hw_mcsc is moved to more proper position. Change-Id: Id86e5181e9cc687913ae1f1078d8dc83aa79401d Signed-off-by: Sunmi Lee --- .../platform/exynos/fimc-is2/hardware/fimc-is-hw-mcscaler-v2.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/media/platform/exynos/fimc-is2/hardware/fimc-is-hw-mcscaler-v2.c b/drivers/media/platform/exynos/fimc-is2/hardware/fimc-is-hw-mcscaler-v2.c index a691af5c9241..b2bd042020fc 100644 --- a/drivers/media/platform/exynos/fimc-is2/hardware/fimc-is-hw-mcscaler-v2.c +++ b/drivers/media/platform/exynos/fimc-is2/hardware/fimc-is-hw-mcscaler-v2.c @@ -426,8 +426,6 @@ static int fimc_is_hw_mcsc_enable(struct fimc_is_hw_ip *hw_ip, u32 instance, ulo msdbg_hw(2, "enable: start, (0x%lx)\n", instance, hw_ip, mcsc_out_st); - mcs_param = &hw_ip->region[instance]->parameter.mcs; - spin_lock_irqsave(&mcsc_out_slock, flag); ret = fimc_is_hw_mcsc_reset(hw_ip); if (ret != 0) { @@ -445,6 +443,7 @@ static int fimc_is_hw_mcsc_enable(struct fimc_is_hw_ip *hw_ip, u32 instance, ulo msdbg_hw(2, "enable: done, (0x%lx)\n", instance, hw_ip, mcsc_out_st); + mcs_param = &hw_ip->region[instance]->parameter.mcs; fimc_is_hw_mcsc_tdnr_init(hw_ip, mcs_param, instance); set_bit(HW_RUN, &hw_ip->state); -- 2.20.1