소스 검색

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

Camera Software Integration 3 년 전
부모
커밋
bf5c84ec66
2개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 0
      drivers/cam_req_mgr/cam_subdev.h
  2. 1 1
      drivers/cam_sensor_module/cam_sensor/cam_sensor_dev.c

+ 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)