From: Sunmi Lee Date: Mon, 2 Jul 2018 05:41:42 +0000 (+0900) Subject: [COMMON] fimc-is2: Fix a bug from prevent in hw-control X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d5d5fea8e072fb5b6b8fd1c6d574c75df137fcdd;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [COMMON] fimc-is2: Fix a bug from prevent in hw-control The condition in FIMC_BUG macro function is always true. This condition is already checked above conditional sentence. Prevent ID: 232655 PR JIRA ID: CPR-24 Change-Id: I3058439864b49df4236dea6698689609f62fb9f8 Signed-off-by: Sunmi Lee --- diff --git a/drivers/media/platform/exynos/fimc-is2/hardware/fimc-is-hw-control.c b/drivers/media/platform/exynos/fimc-is2/hardware/fimc-is-hw-control.c index 95fec55678ba..270c854d0533 100644 --- a/drivers/media/platform/exynos/fimc-is2/hardware/fimc-is-hw-control.c +++ b/drivers/media/platform/exynos/fimc-is2/hardware/fimc-is-hw-control.c @@ -2317,7 +2317,7 @@ int fimc_is_hardware_shot_done(struct fimc_is_hw_ip *hw_ip, struct fimc_is_frame frame_manager_print_info_queues(framemgr); print_all_hw_frame_count(hw_ip->hardware); framemgr_x_barrier_common(framemgr, 0, flags); - FIMC_BUG(!frame); + FIMC_BUG(1); } head = GET_HEAD_GROUP_IN_DEVICE(FIMC_IS_DEVICE_ISCHAIN,