Loading drivers/cam_isp/isp_hw_mgr/isp_hw/tfe_hw/cam_tfe_core.c +13 −7 Original line number Diff line number Diff line Loading @@ -1901,6 +1901,7 @@ static int cam_tfe_camif_resource_start( uint32_t epoch0_irq_mask; uint32_t epoch1_irq_mask; uint32_t computed_epoch_line_cfg; uint32_t camera_hw_version = 0; if (!camif_res || !core_info) { CAM_ERR(CAM_ISP, "Error Invalid input arguments"); Loading Loading @@ -1963,13 +1964,18 @@ static int cam_tfe_camif_resource_start( CAM_DBG(CAM_ISP, "TFE:%d core_cfg 0 val:0x%x", core_info->core_index, val); if (cam_cpas_get_cpas_hw_version(&camera_hw_version)) CAM_ERR(CAM_ISP, "Failed to get HW version"); if (camera_hw_version == CAM_CPAS_TITAN_540_V100) { val = cam_io_r(rsrc_data->mem_base + rsrc_data->common_reg->core_cfg_1); val &= ~BIT(0); cam_io_w_mb(val, rsrc_data->mem_base + rsrc_data->common_reg->core_cfg_1); CAM_DBG(CAM_ISP, "TFE:%d core_cfg 1 val:0x%x", core_info->core_index, val); CAM_DBG(CAM_ISP, "TFE:%d core_cfg 1 val:0x%x", core_info->core_index, val); } /* Epoch config */ epoch0_irq_mask = ((rsrc_data->last_line - Loading drivers/cam_lrme/lrme_hw_mgr/cam_lrme_hw_mgr.c +1 −1 Original line number Diff line number Diff line Loading @@ -1022,7 +1022,7 @@ static int cam_lrme_mgr_create_debugfs_entry(void) if (!dbgfileptr) { CAM_ERR(CAM_ISP,"DebugFS could not create directory!"); rc = -ENOENT; goto end; goto err; } /* Store parent inode for cleanup in caller */ g_lrme_hw_mgr.debugfs_entry.dentry = dbgfileptr; Loading Loading
drivers/cam_isp/isp_hw_mgr/isp_hw/tfe_hw/cam_tfe_core.c +13 −7 Original line number Diff line number Diff line Loading @@ -1901,6 +1901,7 @@ static int cam_tfe_camif_resource_start( uint32_t epoch0_irq_mask; uint32_t epoch1_irq_mask; uint32_t computed_epoch_line_cfg; uint32_t camera_hw_version = 0; if (!camif_res || !core_info) { CAM_ERR(CAM_ISP, "Error Invalid input arguments"); Loading Loading @@ -1963,13 +1964,18 @@ static int cam_tfe_camif_resource_start( CAM_DBG(CAM_ISP, "TFE:%d core_cfg 0 val:0x%x", core_info->core_index, val); if (cam_cpas_get_cpas_hw_version(&camera_hw_version)) CAM_ERR(CAM_ISP, "Failed to get HW version"); if (camera_hw_version == CAM_CPAS_TITAN_540_V100) { val = cam_io_r(rsrc_data->mem_base + rsrc_data->common_reg->core_cfg_1); val &= ~BIT(0); cam_io_w_mb(val, rsrc_data->mem_base + rsrc_data->common_reg->core_cfg_1); CAM_DBG(CAM_ISP, "TFE:%d core_cfg 1 val:0x%x", core_info->core_index, val); CAM_DBG(CAM_ISP, "TFE:%d core_cfg 1 val:0x%x", core_info->core_index, val); } /* Epoch config */ epoch0_irq_mask = ((rsrc_data->last_line - Loading
drivers/cam_lrme/lrme_hw_mgr/cam_lrme_hw_mgr.c +1 −1 Original line number Diff line number Diff line Loading @@ -1022,7 +1022,7 @@ static int cam_lrme_mgr_create_debugfs_entry(void) if (!dbgfileptr) { CAM_ERR(CAM_ISP,"DebugFS could not create directory!"); rc = -ENOENT; goto end; goto err; } /* Store parent inode for cleanup in caller */ g_lrme_hw_mgr.debugfs_entry.dentry = dbgfileptr; Loading