From: Eunyoung Lee Date: Mon, 19 Mar 2018 05:08:06 +0000 (+0900) Subject: [COMMON] fimc-is2: sync sensor_interface with (DDK rev.9209) X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9c1effc4dc7c943d2cb1e6dc4a5ab6ff55b4a41f;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [COMMON] fimc-is2: sync sensor_interface with (DDK rev.9209) Change-Id: I76c67c386b2be15b566ceeaac4c0a46ce2a2fdc7 Signed-off-by: Eunyoung Lee --- diff --git a/drivers/media/platform/exynos/fimc-is2/sensor/module_framework/fimc-is-interface-sensor.h b/drivers/media/platform/exynos/fimc-is2/sensor/module_framework/fimc-is-interface-sensor.h index a6841d157ee4..03e721f7f2fd 100644 --- a/drivers/media/platform/exynos/fimc-is2/sensor/module_framework/fimc-is-interface-sensor.h +++ b/drivers/media/platform/exynos/fimc-is2/sensor/module_framework/fimc-is-interface-sensor.h @@ -45,6 +45,8 @@ #define ACTUATOR_MAX_SOFT_LANDING_NUM 32 /* Actuator interface */ #define ACTUATOR_MAX_FOCUS_POSITIONS 1024 +#define INVALID_LASER_DISTANCE 0 + #define MIN(a,b) (((a) < (b)) ? (a) : (b)) #define MAX(a,b) (((a) > (b)) ? (a) : (b)) @@ -100,8 +102,9 @@ enum itf_vc_stat_type { VC_STAT_TYPE_TAIL_SUPER_PD, VC_STAT_TYPE_TAIL_SUPER_PD_DIVIDE2, - /* Types for Sony PDAF */ - VC_STAT_TYPE_TAIL_IMX = 200, + /*Types for IMX PDAF sensors */ + VC_STAT_TYPE_TAIL_IMX_FLEXIBLE = 200, + VC_STAT_TYPE_TAIL_IMX_STATIC, /* Types for PAF_STAT */ VC_STAT_TYPE_PAFSTAT_FLOATING = 300,