Loading arch/arm64/boot/dts/qcom/sm8150-camera.dtsi +2 −2 Original line number Diff line number Diff line Loading @@ -242,8 +242,8 @@ clock-cntl-level = "lowsvs"; clock-rates = <37500000 0>; pinctrl-names = "cam_default", "cam_suspend"; pinctrl-0 = <&cci2_active &cci2_active>; pinctrl-1 = <&cci3_suspend &cci3_suspend>; pinctrl-0 = <&cci2_active &cci3_active>; pinctrl-1 = <&cci2_suspend &cci3_suspend>; gpios = <&tlmm 31 0>, <&tlmm 32 0>, <&tlmm 33 0>, Loading drivers/media/platform/msm/camera/cam_cdm/cam_cdm_hw_core.c +1 −0 Original line number Diff line number Diff line Loading @@ -1125,6 +1125,7 @@ static struct platform_driver cam_hw_cdm_driver = { .name = "msm_cam_cdm", .owner = THIS_MODULE, .of_match_table = msm_cam_hw_cdm_dt_match, .suppress_bind_attrs = true, }, }; Loading drivers/media/platform/msm/camera/cam_cdm/cam_cdm_intf.c +1 −0 Original line number Diff line number Diff line Loading @@ -562,6 +562,7 @@ static struct platform_driver cam_cdm_intf_driver = { .name = "msm_cam_cdm_intf", .owner = THIS_MODULE, .of_match_table = msm_cam_cdm_intf_dt_match, .suppress_bind_attrs = true, }, }; Loading drivers/media/platform/msm/camera/cam_core/cam_context.c +1 −1 Original line number Diff line number Diff line Loading @@ -58,7 +58,7 @@ int cam_context_shutdown(struct cam_context *ctx) } if (!rc) cam_destroy_device_hdl(ctx_hdl); rc = cam_destroy_device_hdl(ctx_hdl); return rc; } Loading drivers/media/platform/msm/camera/cam_core/cam_context_utils.c +3 −0 Original line number Diff line number Diff line Loading @@ -490,6 +490,7 @@ int32_t cam_context_acquire_dev_to_hw(struct cam_context *ctx, release.ctxt_to_hw_map = ctx->ctxt_to_hw_map; ctx->hw_mgr_intf->hw_release(ctx->hw_mgr_intf->hw_mgr_priv, &release); ctx->ctxt_to_hw_map = NULL; ctx->dev_hdl = -1; end: return rc; } Loading @@ -504,6 +505,7 @@ int32_t cam_context_flush_ctx_to_hw(struct cam_context *ctx) bool free_req; CAM_DBG(CAM_CTXT, "[%s] E: NRT flush ctx", ctx->dev_name); memset(&flush_args, 0, sizeof(flush_args)); /* * flush pending requests, take the sync lock to synchronize with the Loading Loading @@ -670,6 +672,7 @@ int32_t cam_context_flush_req_to_hw(struct cam_context *ctx, CAM_DBG(CAM_CTXT, "[%s] E: NRT flush req", ctx->dev_name); memset(&flush_args, 0, sizeof(flush_args)); flush_args.num_req_pending = 0; flush_args.num_req_active = 0; mutex_lock(&ctx->sync_mutex); Loading Loading
arch/arm64/boot/dts/qcom/sm8150-camera.dtsi +2 −2 Original line number Diff line number Diff line Loading @@ -242,8 +242,8 @@ clock-cntl-level = "lowsvs"; clock-rates = <37500000 0>; pinctrl-names = "cam_default", "cam_suspend"; pinctrl-0 = <&cci2_active &cci2_active>; pinctrl-1 = <&cci3_suspend &cci3_suspend>; pinctrl-0 = <&cci2_active &cci3_active>; pinctrl-1 = <&cci2_suspend &cci3_suspend>; gpios = <&tlmm 31 0>, <&tlmm 32 0>, <&tlmm 33 0>, Loading
drivers/media/platform/msm/camera/cam_cdm/cam_cdm_hw_core.c +1 −0 Original line number Diff line number Diff line Loading @@ -1125,6 +1125,7 @@ static struct platform_driver cam_hw_cdm_driver = { .name = "msm_cam_cdm", .owner = THIS_MODULE, .of_match_table = msm_cam_hw_cdm_dt_match, .suppress_bind_attrs = true, }, }; Loading
drivers/media/platform/msm/camera/cam_cdm/cam_cdm_intf.c +1 −0 Original line number Diff line number Diff line Loading @@ -562,6 +562,7 @@ static struct platform_driver cam_cdm_intf_driver = { .name = "msm_cam_cdm_intf", .owner = THIS_MODULE, .of_match_table = msm_cam_cdm_intf_dt_match, .suppress_bind_attrs = true, }, }; Loading
drivers/media/platform/msm/camera/cam_core/cam_context.c +1 −1 Original line number Diff line number Diff line Loading @@ -58,7 +58,7 @@ int cam_context_shutdown(struct cam_context *ctx) } if (!rc) cam_destroy_device_hdl(ctx_hdl); rc = cam_destroy_device_hdl(ctx_hdl); return rc; } Loading
drivers/media/platform/msm/camera/cam_core/cam_context_utils.c +3 −0 Original line number Diff line number Diff line Loading @@ -490,6 +490,7 @@ int32_t cam_context_acquire_dev_to_hw(struct cam_context *ctx, release.ctxt_to_hw_map = ctx->ctxt_to_hw_map; ctx->hw_mgr_intf->hw_release(ctx->hw_mgr_intf->hw_mgr_priv, &release); ctx->ctxt_to_hw_map = NULL; ctx->dev_hdl = -1; end: return rc; } Loading @@ -504,6 +505,7 @@ int32_t cam_context_flush_ctx_to_hw(struct cam_context *ctx) bool free_req; CAM_DBG(CAM_CTXT, "[%s] E: NRT flush ctx", ctx->dev_name); memset(&flush_args, 0, sizeof(flush_args)); /* * flush pending requests, take the sync lock to synchronize with the Loading Loading @@ -670,6 +672,7 @@ int32_t cam_context_flush_req_to_hw(struct cam_context *ctx, CAM_DBG(CAM_CTXT, "[%s] E: NRT flush req", ctx->dev_name); memset(&flush_args, 0, sizeof(flush_args)); flush_args.num_req_pending = 0; flush_args.num_req_active = 0; mutex_lock(&ctx->sync_mutex); Loading