[COMMON] fimc-is2: Added deinit function of mcsc
authorSunmi Lee <carrotsm.lee@samsung.com>
Fri, 29 Jun 2018 00:41:36 +0000 (09:41 +0900)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:22:52 +0000 (20:22 +0300)
To match with others like fimc_is_hw_3aa, isp, vra.

Change-Id: Id247295469b91f012f604f4ff9ee813b65309594
Signed-off-by: Sunmi Lee <carrotsm.lee@samsung.com>
drivers/media/platform/exynos/fimc-is2/hardware/fimc-is-hw-mcscaler-v2.c

index 26ed6d1fe2181bec08cafaa13f9f37152c2a6760..001183a6043fb89b11335b60b6d1545e41c0b311 100644 (file)
@@ -360,6 +360,11 @@ static int fimc_is_hw_mcsc_init(struct fimc_is_hw_ip *hw_ip, u32 instance,
        return ret;
 }
 
+static int fimc_is_hw_mcsc_deinit(struct fimc_is_hw_ip *hw_ip, u32 instance)
+{
+       return 0;
+}
+
 static int fimc_is_hw_mcsc_close(struct fimc_is_hw_ip *hw_ip, u32 instance)
 {
        int ret = 0;
@@ -2669,6 +2674,7 @@ int fimc_is_hw_mcsc_restore(struct fimc_is_hw_ip *hw_ip, u32 instance)
 const struct fimc_is_hw_ip_ops fimc_is_hw_mcsc_ops = {
        .open                   = fimc_is_hw_mcsc_open,
        .init                   = fimc_is_hw_mcsc_init,
+       .deinit                 = fimc_is_hw_mcsc_deinit,
        .close                  = fimc_is_hw_mcsc_close,
        .enable                 = fimc_is_hw_mcsc_enable,
        .disable                = fimc_is_hw_mcsc_disable,