[COMMON] fimc-is2: Added debug log message in hw_mcsc_update_cac_register
authorSunmi Lee <carrotsm.lee@samsung.com>
Fri, 6 Jul 2018 02:12:50 +0000 (11:12 +0900)
committerSunyoung Kang <sy0816.kang@samsung.com>
Mon, 23 Jul 2018 08:06:20 +0000 (17:06 +0900)
To make debugging easily, the log message was added.

PR JIRA ID: CPR-39

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

index 1b768e7853e1a1a44577b18c21547fc774a2e22d..4c57602f0b8a66d2510c0f7f72a7010d1c19f78a 100644 (file)
@@ -195,6 +195,8 @@ int fimc_is_hw_mcsc_update_cac_register(struct fimc_is_hw_ip *hw_ip,
        hw_mcsc_calc_cac_param_by_ni(hw_ip, cac, ni);
 #endif
 
+       sdbg_hw(2, "[CAC][F:%d]: ni(%d)\n",
+               hw_ip, __func__, frame->fcount, ni);
 exit:
        hw_mcsc->cur_ni = ni;