[COMMON] fimc-is2: Adjusted the number of shots for high speed recording
authorSunmi Lee <carrotsm.lee@samsung.com>
Fri, 29 Dec 2017 07:16:47 +0000 (16:16 +0900)
committerEunyoung Lee <ey470.lee@samsung.com>
Tue, 19 Jun 2018 08:43:27 +0000 (17:43 +0900)
Change-Id: I19e7698ec8ee836954866fa297236314928f4103
Signed-off-by: Sunmi Lee <carrotsm.lee@samsung.com>
drivers/media/platform/exynos/fimc-is2/fimc-is-groupmgr.c

index d99aacec843a752754d7cc720e561718b16d0e8a..9eec022f729d57bd00ad6b1f8c0184b2cbbbcf22 100644 (file)
@@ -2007,7 +2007,7 @@ static void set_group_shots(struct fimc_is_group *group,
                group->skip_shots = group->asyn_shots;
        }
 #else
-       if (ex_mode == EX_DUALFPS) {
+       if (ex_mode == EX_DUALFPS || framerate > 240) {
                group->asyn_shots = MIN_OF_ASYNC_SHOTS + 1;
                group->sync_shots = MIN_OF_SYNC_SHOTS;
        } else {