msm: camera: custom: Enable driver compilation & minor fixes

Enable custom driver compilation on lahaina and few minor fixes
in custom HW driver.

CRs-Fixed: 2716300
Change-Id: I6f9ead5d2d67d91c14daf200ba12e95a1afec61d
Signed-off-by: Karthik Anantha Ram <kartanan@codeaurora.org>
This commit is contained in:
Karthik Anantha Ram
2020-06-17 21:17:29 -07:00
والد 8e44ef7540
کامیت 139ced0c94
5فایلهای تغییر یافته به همراه7 افزوده شده و 5 حذف شده

مشاهده پرونده

@@ -117,7 +117,7 @@ static int cam_custom_hw_sub_mod_component_bind(struct device *dev,
/* needs to be invoked when custom hw is in place */
//cam_custom_hw_sub_mod_init_hw(hw, NULL, 0);
CAM_DBG(CAM_CUSTOM, "HW idx:%d component bound successfully");
CAM_DBG(CAM_CUSTOM, "HW idx:%d component bound successfully",
hw_intf->hw_idx);
return rc;

مشاهده پرونده

@@ -489,16 +489,15 @@ static int cam_custom_hw_mgr_notify(
custom_ctx->event_cb(custom_ctx->cb_priv,
CAM_CUSTOM_HW_EVENT_RUP_DONE, &reg_upd_data);
break;
case CAM_CUSTOM_HW_EVENT_RUP_DONE:
case CAM_CUSTOM_HW_EVENT_FRAME_DONE:
CAM_DBG(CAM_CUSTOM, "Notify FRAME DONE for ctx %u",
custom_ctx->ctx_index);
/* fill the evt data struct */
done_evt_data.num_handles = 1;
done_evt_data.resource_handle = 0;
custom_ctx->event_cb(custom_ctx->cb_priv,
CAM_CUSTOM_HW_EVENT_RUP_DONE, &done_evt_data);
break;
case CAM_CUSTOM_HW_EVENT_RUP_DONE:
case CAM_CUSTOM_HW_EVENT_ERROR:
CAM_DBG(CAM_CUSTOM, "Notify ERROR for ctx %u",
custom_ctx->ctx_index);
/* fill the evt data struct */