Przeglądaj źródła

Merge "msm: camera: isp: Add handle function for RUP in bubble" into camera-kernel.lnx.4.0

Camera Software Integration 5 lat temu
rodzic
commit
1ba919a8d1
1 zmienionych plików z 16 dodań i 1 usunięć
  1. 16 1
      drivers/cam_isp/cam_isp_context.c

+ 16 - 1
drivers/cam_isp/cam_isp_context.c

@@ -3463,6 +3463,21 @@ static int __cam_isp_ctx_rdi_only_sof_in_bubble_state(
 	return 0;
 }
 
+
+static int __cam_isp_ctx_rdi_only_reg_upd_in_bubble_state(
+	struct cam_isp_context *ctx_isp, void *evt_data)
+{
+	struct cam_ctx_request  *req = NULL;
+	struct cam_context      *ctx = ctx_isp->base;
+
+	req = list_first_entry(&ctx->active_req_list,
+		struct cam_ctx_request, list);
+
+	CAM_INFO(CAM_ISP, "Received RUP for Bubble Request", req->request_id);
+
+	return 0;
+}
+
 static int __cam_isp_ctx_rdi_only_reg_upd_in_bubble_applied_state(
 	struct cam_isp_context *ctx_isp, void *evt_data)
 {
@@ -3586,7 +3601,7 @@ static struct cam_isp_ctx_irq_ops
 		.irq_ops = {
 			__cam_isp_ctx_handle_error,
 			__cam_isp_ctx_rdi_only_sof_in_bubble_state,
-			NULL,
+			__cam_isp_ctx_rdi_only_reg_upd_in_bubble_state,
 			NULL,
 			NULL,
 			__cam_isp_ctx_buf_done_in_bubble,