[COMMON] fimc-is2: Fix a bug of devide by zero
authorSunmi Lee <carrotsm.lee@samsung.com>
Fri, 6 Jul 2018 08:39:03 +0000 (17:39 +0900)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:22:53 +0000 (20:22 +0300)
commitbdb15b860dcb373b1534ba74545d414205a0b308
treef49fa1e155c46bcc134cf58372145293d6549534
parentff2117e76e496d4fa5d88f6af5690347cd1a8ec7
[COMMON] fimc-is2: Fix a bug of devide by zero

There is a possiblity to execute of dividing by zero in CALC_LNR_INTRPL.

PR JIRA ID: CPR-39

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