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

Commit 463158a7 authored by Karthik Anantha Ram's avatar Karthik Anantha Ram Committed by Chandan Kumar Jha
Browse files

msm: camera: reqmgr: Add provision in UAPI for INIT exp timeout



Add provision in CRM link control to accept any long exposure
timeout value so that CRM can modify it's internal WD timer
during link activate.

CRs-Fixed: 2679913
Change-Id: Icedeeef32dcc5c881277f28dc2c0fbb40fa1e7f1
Signed-off-by: default avatarKarthik Anantha Ram <kartanan@codeaurora.org>
parent fc75671c
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -231,6 +231,9 @@ struct cam_req_mgr_sync_mode {
 * @session_hdl:         Input param - Identifier for CSL session
 * @num_links:           Input Param - Num of links
 * @reserved:            reserved field
 * @init_timeout:        To account for INIT exposure settings
 *                       If there is no change in exp settings
 *                       field needs to assigned to 0
 * @link_hdls:           Input Param - Links to be activated/deactivated
 *
 * @opcode: CAM_REQ_MGR_LINK_CONTROL
@@ -240,6 +243,7 @@ struct cam_req_mgr_link_control {
	int32_t session_hdl;
	int32_t num_links;
	int32_t reserved;
	int32_t init_timeout[MAX_LINKS_PER_SESSION];
	int32_t link_hdls[MAX_LINKS_PER_SESSION];
};