Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7729f60f authored by Tejas Prajapati's avatar Tejas Prajapati
Browse files

msm: camera: ife: Get last CDM done under internal command



Get last CDM done is an internal command, moved to
correct switch case.

CRs-Fixed: 2939681
Change-Id: I72f72864bd52012e15a6bdbde279c9990aee405c
Signed-off-by: default avatarTejas Prajapati <tpraja@codeaurora.org>
parent 3ce3b662
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -6486,6 +6486,10 @@ static int cam_ife_mgr_cmd(void *hw_mgr_priv, void *cmd_args)
				isp_hw_cmd_args->u.packet_op_code =
				CAM_ISP_PACKET_UPDATE_DEV;
			break;
		case CAM_ISP_HW_MGR_GET_LAST_CDM_DONE:
			isp_hw_cmd_args->u.last_cdm_done =
				ctx->last_cdm_done_req;
			break;
		default:
			CAM_ERR(CAM_ISP, "Invalid HW mgr command:0x%x",
				hw_cmd_args->cmd_type);
@@ -6553,10 +6557,6 @@ static int cam_ife_mgr_cmd(void *hw_mgr_priv, void *cmd_args)
	case CAM_HW_MGR_CMD_DUMP_ACQ_INFO:
		cam_ife_hw_mgr_dump_acq_data(ctx);
		break;
	case CAM_ISP_HW_MGR_GET_LAST_CDM_DONE:
		isp_hw_cmd_args->u.last_cdm_done =
			ctx->last_cdm_done_req;
		break;
	default:
		CAM_ERR(CAM_ISP, "Invalid cmd");
	}