Bläddra i källkod

Merge "msm: camera: common: Add level in priority list for shutdown" into camera-kernel.lnx.6.0

Camera Software Integration 3 år sedan
förälder
incheckning
bf5c84ec66

+ 1 - 0
drivers/cam_req_mgr/cam_subdev.h

@@ -24,6 +24,7 @@ enum cam_subdev_message_type_t {
 enum cam_subdev_close_seq_priority {
 	CAM_SD_CLOSE_HIGH_PRIORITY,
 	CAM_SD_CLOSE_MEDIUM_PRIORITY,
+	CAM_SD_CLOSE_MEDIUM_LOW_PRIORITY,
 	CAM_SD_CLOSE_LOW_PRIORITY
 };
 

+ 1 - 1
drivers/cam_sensor_module/cam_sensor/cam_sensor_dev.c

@@ -144,7 +144,7 @@ static int cam_sensor_init_subdev_params(struct cam_sensor_ctrl_t *s_ctrl)
 		CAM_SENSOR_DEVICE_TYPE;
 	s_ctrl->v4l2_dev_str.token = s_ctrl;
 	s_ctrl->v4l2_dev_str.close_seq_prior =
-		CAM_SD_CLOSE_MEDIUM_PRIORITY;
+		CAM_SD_CLOSE_MEDIUM_LOW_PRIORITY;
 
 	rc = cam_register_subdev(&(s_ctrl->v4l2_dev_str));
 	if (rc)