Revert "[9610] fimc-is2: Reduce coarse_int time from 15 to 2"
authorDohyun Kim <dh5.kim@samsung.com>
Mon, 18 Feb 2019 07:34:11 +0000 (16:34 +0900)
committerlingsen1 <lingsen1@lenovo.com>
Mon, 10 Jun 2019 03:21:09 +0000 (11:21 +0800)
PR JIRA ID: CPR-700

This reverts commit 0b95ad8972baaeba932d7382d4418e69498f42ae.

Change-Id: Ic7632f44570d4dc73e99663fc084b396cc4ba87b
Signed-off-by: Dohyun Kim <dh5.kim@samsung.com>
drivers/media/platform/exynos/fimc-is2/sensor/module_framework/cis/fimc-is-cis.c

index c9c4975be26ed27631eab4dcf6741a807bd43e91..8aafdb7ea2a6eecd4f04e110d8fef2c4aa376d24 100644 (file)
@@ -308,7 +308,7 @@ int sensor_cis_compensate_gain_for_extremely_br(struct v4l2_subdev *subdev, u32
                coarse_int = cis_data->min_coarse_integration_time;
        }
 
-       if (coarse_int <= 2) {
+       if (coarse_int <= 15) {
                compensated_again = (*again * ((expo * vt_pic_clk_freq_mhz) - min_fine_int)) / (line_length_pck * coarse_int);
 
                if (compensated_again < cis_data->min_analog_gain[1]) {