Loading drivers/media/platform/msm/camera/cam_isp/isp_hw_mgr/isp_hw/ife_csid_hw/cam_ife_csid_core.c +2 −2 Original line number Diff line number Diff line Loading @@ -1977,8 +1977,8 @@ static int cam_ife_csid_disable_rdi_path( soc_info = &csid_hw->hw_info->soc_info; id = res->res_id; if (res->res_id >= CAM_IFE_PIX_PATH_RES_MAX || !csid_reg->rdi_reg[res->res_id]) { if ((res->res_id > CAM_IFE_PIX_PATH_RES_RDI_3) || (!csid_reg->rdi_reg[res->res_id])) { CAM_ERR_RATE_LIMIT(CAM_ISP, "CSID:%d Invalid res id%d", csid_hw->hw_intf->hw_idx, res->res_id); return -EINVAL; Loading drivers/media/platform/msm/camera/cam_jpeg/jpeg_hw/cam_jpeg_hw_mgr.c +7 −12 Original line number Diff line number Diff line Loading @@ -802,11 +802,8 @@ static int cam_jpeg_mgr_flush(void *hw_mgr_priv, list_for_each_entry_safe(cfg_req, req_temp, &hw_mgr->hw_config_req_list, list) { if (!cfg_req) return -EINVAL; if ((cfg_req) && ((struct cam_jpeg_hw_ctx_data *) cfg_req->hw_cfg_args.ctxt_to_hw_map != ctx_data)) if ((struct cam_jpeg_hw_ctx_data *) cfg_req->hw_cfg_args.ctxt_to_hw_map != ctx_data) continue; list_del_init(&cfg_req->list); Loading @@ -823,7 +820,8 @@ static int cam_jpeg_mgr_flush_req(void *hw_mgr_priv, struct cam_hw_flush_args *flush_args) { struct cam_jpeg_hw_mgr *hw_mgr = hw_mgr_priv; struct cam_jpeg_hw_cfg_req *cfg_req, *req_temp; struct cam_jpeg_hw_cfg_req *cfg_req = NULL; struct cam_jpeg_hw_cfg_req *req_temp = NULL; int64_t request_id; CAM_DBG(CAM_JPEG, "E: JPEG flush req"); Loading @@ -839,11 +837,8 @@ static int cam_jpeg_mgr_flush_req(void *hw_mgr_priv, request_id = *(int64_t *)flush_args->flush_req_active[0]; list_for_each_entry_safe(cfg_req, req_temp, &hw_mgr->hw_config_req_list, list) { if (!cfg_req) return -EINVAL; if ((cfg_req) && (cfg_req->hw_cfg_args.ctxt_to_hw_map != ctx_data)) if ((struct cam_jpeg_hw_ctx_data *) cfg_req->hw_cfg_args.ctxt_to_hw_map != ctx_data) continue; if (cfg_req->req_id != request_id) Loading Loading @@ -995,7 +990,7 @@ static int cam_jpeg_mgr_release_hw(void *hw_mgr_priv, void *release_hw_args) static int cam_jpeg_mgr_acquire_hw(void *hw_mgr_priv, void *acquire_hw_args) { int rc; int rc = 0; int32_t ctx_id = 0; struct cam_jpeg_hw_mgr *hw_mgr = hw_mgr_priv; struct cam_jpeg_hw_ctx_data *ctx_data = NULL; Loading Loading
drivers/media/platform/msm/camera/cam_isp/isp_hw_mgr/isp_hw/ife_csid_hw/cam_ife_csid_core.c +2 −2 Original line number Diff line number Diff line Loading @@ -1977,8 +1977,8 @@ static int cam_ife_csid_disable_rdi_path( soc_info = &csid_hw->hw_info->soc_info; id = res->res_id; if (res->res_id >= CAM_IFE_PIX_PATH_RES_MAX || !csid_reg->rdi_reg[res->res_id]) { if ((res->res_id > CAM_IFE_PIX_PATH_RES_RDI_3) || (!csid_reg->rdi_reg[res->res_id])) { CAM_ERR_RATE_LIMIT(CAM_ISP, "CSID:%d Invalid res id%d", csid_hw->hw_intf->hw_idx, res->res_id); return -EINVAL; Loading
drivers/media/platform/msm/camera/cam_jpeg/jpeg_hw/cam_jpeg_hw_mgr.c +7 −12 Original line number Diff line number Diff line Loading @@ -802,11 +802,8 @@ static int cam_jpeg_mgr_flush(void *hw_mgr_priv, list_for_each_entry_safe(cfg_req, req_temp, &hw_mgr->hw_config_req_list, list) { if (!cfg_req) return -EINVAL; if ((cfg_req) && ((struct cam_jpeg_hw_ctx_data *) cfg_req->hw_cfg_args.ctxt_to_hw_map != ctx_data)) if ((struct cam_jpeg_hw_ctx_data *) cfg_req->hw_cfg_args.ctxt_to_hw_map != ctx_data) continue; list_del_init(&cfg_req->list); Loading @@ -823,7 +820,8 @@ static int cam_jpeg_mgr_flush_req(void *hw_mgr_priv, struct cam_hw_flush_args *flush_args) { struct cam_jpeg_hw_mgr *hw_mgr = hw_mgr_priv; struct cam_jpeg_hw_cfg_req *cfg_req, *req_temp; struct cam_jpeg_hw_cfg_req *cfg_req = NULL; struct cam_jpeg_hw_cfg_req *req_temp = NULL; int64_t request_id; CAM_DBG(CAM_JPEG, "E: JPEG flush req"); Loading @@ -839,11 +837,8 @@ static int cam_jpeg_mgr_flush_req(void *hw_mgr_priv, request_id = *(int64_t *)flush_args->flush_req_active[0]; list_for_each_entry_safe(cfg_req, req_temp, &hw_mgr->hw_config_req_list, list) { if (!cfg_req) return -EINVAL; if ((cfg_req) && (cfg_req->hw_cfg_args.ctxt_to_hw_map != ctx_data)) if ((struct cam_jpeg_hw_ctx_data *) cfg_req->hw_cfg_args.ctxt_to_hw_map != ctx_data) continue; if (cfg_req->req_id != request_id) Loading Loading @@ -995,7 +990,7 @@ static int cam_jpeg_mgr_release_hw(void *hw_mgr_priv, void *release_hw_args) static int cam_jpeg_mgr_acquire_hw(void *hw_mgr_priv, void *acquire_hw_args) { int rc; int rc = 0; int32_t ctx_id = 0; struct cam_jpeg_hw_mgr *hw_mgr = hw_mgr_priv; struct cam_jpeg_hw_ctx_data *ctx_data = NULL; Loading