case SENSOR_POSITION_FRONT:
sensor_id = priv->front_sensor_id;
break;
-#ifdef CONFIG_SECURE_CAMERA_USE
- case SENSOR_POSITION_SECURE:
- sensor_id = priv->secure_sensor_id;
- break;
-#endif
case SENSOR_POSITION_REAR2:
sensor_id = priv->rear_second_sensor_id;
break;
+ case SENSOR_POSITION_FRONT2:
+ sensor_id = priv->front_second_sensor_id;
+ break;
case SENSOR_POSITION_REAR3:
sensor_id = priv->rear_third_sensor_id;
break;
+#ifdef CONFIG_SECURE_CAMERA_USE
+ case SENSOR_POSITION_SECURE:
+ sensor_id = priv->secure_sensor_id;
+ break;
+#endif
default:
merr("invalid module position(%d)", device, module->position);
ret = -EINVAL;
case SENSOR_POSITION_FRONT:
sensor_id = priv->front_sensor_id;
break;
-#ifdef CONFIG_SECURE_CAMERA_USE
- case SENSOR_POSITION_SECURE:
- sensor_id = priv->secure_sensor_id;
- break;
-#endif
case SENSOR_POSITION_REAR2:
sensor_id = priv->rear_second_sensor_id;
break;
+ case SENSOR_POSITION_FRONT2:
+ sensor_id = priv->front_second_sensor_id;
+ break;
case SENSOR_POSITION_REAR3:
sensor_id = priv->rear_third_sensor_id;
break;
+#ifdef CONFIG_SECURE_CAMERA_USE
+ case SENSOR_POSITION_SECURE:
+ sensor_id = priv->secure_sensor_id;
+ break;
+#endif
#ifdef CONFIG_VENDER_PSV
case SENSOR_POSITION_VIRTUAL:
sensor_id = SENSOR_NAME_VIRTUAL;