Browse Source

msm: camera: icp: Fix OFE config IO timeout

When receiving OFE IO config ack from FW, signal completion
to wake up awaiting thread who calls to send IO config command
to FW.

CRs-Fixed: 3458585
Change-Id: I23bc7d1acd3a9ddf2d6b7120d51cdecb55569651
Signed-off-by: Sokchetra Eung <[email protected]>
Sokchetra Eung 2 năm trước cách đây
mục cha
commit
eb193593c7
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      drivers/cam_icp/icp_hw/icp_hw_mgr/cam_icp_hw_mgr.c

+ 2 - 0
drivers/cam_icp/icp_hw/icp_hw_mgr/cam_icp_hw_mgr.c

@@ -2783,6 +2783,8 @@ static int cam_icp_mgr_process_ofe_indirect_ack_msg(uint32_t *msg_ptr)
 		}
 		CAM_DBG(CAM_ICP, "%s: received OFE config io response",
 			ctx_data->ctx_id_string);
+
+		complete(&ctx_data->wait_complete);
 		break;
 	}
 	case HFI_OFE_CMD_OPCODE_FRAME_PROCESS: