Browse Source

msm: camera: isp: Change module tag in IFE bus log

Change module tag from SFE to ISP in IFE bus file.
Also update error code to success for bus debug config.

CRs-Fixed: 2841729
Change-Id: I0c648aeef2864cd55a0940c73235087c7de9d910
Signed-off-by: Karthik Anantha Ram <[email protected]>
Karthik Anantha Ram 4 years ago
parent
commit
bb3922ce93

+ 2 - 1
drivers/cam_isp/isp_hw_mgr/isp_hw/vfe_hw/vfe_bus/cam_vfe_bus_ver3.c

@@ -1360,7 +1360,7 @@ static int cam_vfe_bus_ver3_start_wm(struct cam_isp_resource_node *wm_res)
 			rsrc_data->hw_regs->mmu_prefetch_cfg);
 			rsrc_data->hw_regs->mmu_prefetch_cfg);
 		cam_io_w_mb(0xFFFFFFFF, common_data->mem_base +
 		cam_io_w_mb(0xFFFFFFFF, common_data->mem_base +
 			rsrc_data->hw_regs->mmu_prefetch_max_offset);
 			rsrc_data->hw_regs->mmu_prefetch_max_offset);
-		CAM_DBG(CAM_SFE, "VFE: %d WM: %d MMU prefetch enabled",
+		CAM_DBG(CAM_ISP, "VFE: %d WM: %d MMU prefetch enabled",
 			rsrc_data->common_data->core_index,
 			rsrc_data->common_data->core_index,
 			rsrc_data->index);
 			rsrc_data->index);
 	}
 	}
@@ -3737,6 +3737,7 @@ static int cam_vfe_bus_ver3_process_cmd(
 		CAM_DBG(CAM_ISP, "IFE bus WR prefetch %s",
 		CAM_DBG(CAM_ISP, "IFE bus WR prefetch %s",
 			bus_priv->common_data.disable_mmu_prefetch ?
 			bus_priv->common_data.disable_mmu_prefetch ?
 			"disabled" : "enabled");
 			"disabled" : "enabled");
+		rc = 0;
 		break;
 		break;
 	default:
 	default:
 		CAM_ERR_RATE_LIMIT(CAM_ISP, "Invalid camif process command:%d",
 		CAM_ERR_RATE_LIMIT(CAM_ISP, "Invalid camif process command:%d",