浏览代码

msm: camera: icp: allow icp debug clock for debug purpose

Max support clock frequency varies from target to target.
Do not restrict the debug icp clock with max supported clock
and allow it to set with any value.

CRs-Fixed: 2878329
Change-Id: Ia157d38c4aa4b1183650bf6ff47f3181fb8012cd
Signed-off-by: Alok Chauhan <[email protected]>
Alok Chauhan 4 年之前
父节点
当前提交
437e99f4b4
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      drivers/cam_icp/icp_hw/icp_hw_mgr/cam_icp_hw_mgr.c

+ 1 - 2
drivers/cam_icp/icp_hw/icp_hw_mgr/cam_icp_hw_mgr.c

@@ -1087,8 +1087,7 @@ static bool cam_icp_update_clk_free(struct cam_icp_hw_mgr *hw_mgr,
 
 static bool cam_icp_debug_clk_update(struct cam_icp_clk_info *hw_mgr_clk_info)
 {
-	if (icp_hw_mgr.icp_debug_clk < ICP_CLK_TURBO_HZ &&
-		icp_hw_mgr.icp_debug_clk &&
+	if (icp_hw_mgr.icp_debug_clk &&
 		icp_hw_mgr.icp_debug_clk != hw_mgr_clk_info->curr_clk) {
 		hw_mgr_clk_info->base_clk = icp_hw_mgr.icp_debug_clk;
 		hw_mgr_clk_info->curr_clk = icp_hw_mgr.icp_debug_clk;