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

Commit aac95e5c authored by Karthik Anantha Ram's avatar Karthik Anantha Ram Committed by Gerrit - the friendly Code Review server
Browse files

msm: camera: req_mgr: Populate dev_hdl to notify events to RT devices



When sending a specific request to a particular connected device fails,
we need to notify other devices for which the same request was already
sent. While doing this notification dev_hdl needs to be populated
correctly.

Change-Id: Ib04e600ee96689fa70e471864b6ea14244768007
Signed-off-by: default avatarKarthik Anantha Ram <kartanan@codeaurora.org>
parent eb30d1c0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -502,6 +502,7 @@ static int __cam_req_mgr_send_req(struct cam_req_mgr_core_link *link,
		for (; i >= 0; i--) {
			dev = &link->l_dev[i];
			evt_data.evt_type = CAM_REQ_MGR_LINK_EVT_ERR;
			evt_data.dev_hdl = dev->dev_hdl;
			evt_data.link_hdl =  link->link_hdl;
			evt_data.req_id = apply_req.request_id;
			evt_data.u.error = CRM_KMD_ERR_BUBBLE;