[COMMON] fimc-is2: Fix a bug from prevent - no_effect
authorSunmi Lee <carrotsm.lee@samsung.com>
Mon, 2 Jul 2018 05:37:28 +0000 (14:37 +0900)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:22:51 +0000 (20:22 +0300)
commit78a5c7e39b3f1eb3ab6ba714223c821797bce314
treebb2ea9bfb698108ec5b2f17b2e8d627f4995f1a6
parent72d616210f285e89f7f3969dc6f247f2d9b45d06
[COMMON] fimc-is2: Fix a bug from prevent - no_effect

The type of "mode" in sensor_2l3_cis_is_wdr_mode_on is unsigned int.
So it is no use to check the value of mode is less than zero.

Prevent ID: 233013
PR JIRA ID: CPR-24

Change-Id: I4e83edb0f69c14cc783372453b4ed7dda8e15b4f
Signed-off-by: Sunmi Lee <carrotsm.lee@samsung.com>
drivers/media/platform/exynos/fimc-is2/sensor/module_framework/cis/fimc-is-cis-2l3.c