[COMMON] fimc-is2: Added to check 3AF, 3AG output in 3aa_shot
authorSunmi Lee <carrotsm.lee@samsung.com>
Fri, 8 Jun 2018 03:43:15 +0000 (12:43 +0900)
committerSunyoung Kang <sy0816.kang@samsung.com>
Mon, 23 Jul 2018 08:04:58 +0000 (17:04 +0900)
Change-Id: Icb407866819d3928d514cf127a9ff56e8da9a7f5
Signed-off-by: Sunmi Lee <carrotsm.lee@samsung.com>
drivers/media/platform/exynos/fimc-is2/hardware/fimc-is-hw-3aa.c

index 86232219e79b2c792d031529ed7e90fa687bef91..cb151cf16b4855324df96fe23312b1bcc01b4afe 100644 (file)
@@ -300,7 +300,8 @@ static int fimc_is_hw_3aa_shot(struct fimc_is_hw_ip *hw_ip, struct fimc_is_frame
 
        fimc_is_hw_g_ctrl(hw_ip, hw_ip->id, HW_G_CTRL_FRM_DONE_WITH_DMA, (void *)&frame_done);
        if ((!frame_done)
-               || (!test_bit(ENTRY_3AC, &frame->out_flag) && !test_bit(ENTRY_3AP, &frame->out_flag)))
+               || (!test_bit(ENTRY_3AC, &frame->out_flag) && !test_bit(ENTRY_3AP, &frame->out_flag)
+                       && !test_bit(ENTRY_3AF, &frame->out_flag) && !test_bit(ENTRY_3AG, &frame->out_flag)))
                set_bit(hw_ip->id, &frame->core_flag);
 
        FIMC_BUG(!hw_ip->priv_info);