[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)
committerSunyoung Kang <sy0816.kang@samsung.com>
Mon, 23 Jul 2018 08:06:22 +0000 (17:06 +0900)
commitc4fca98299daa6256f80f1aff275ec6a6c9ed9f9
treefc874e502ab866f17ddae42c78fcc49ff9ad4349
parent89f50d3b0de85f31182ff74eba97db1d9164b04c
[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