Browse Source

msm: camera: isp: Don't enable TFE WM at Start HW

This commit takes care of enabling Wm configurations for each
client only if io buffers are allocated.

CRs-Fixed: 3508184
Change-Id: I3af729742475a7ef5428fcda6c936e0c8799fdf9
Signed-off-by: Ayush Kumar <[email protected]>
Ayush Kumar 2 năm trước cách đây
mục cha
commit
d010119b5d
1 tập tin đã thay đổi với 0 bổ sung4 xóa
  1. 0 4
      drivers/cam_isp/isp_hw_mgr/isp_hw/tfe_hw/cam_tfe_bus.c

+ 0 - 4
drivers/cam_isp/isp_hw_mgr/isp_hw/tfe_hw/cam_tfe_bus.c

@@ -1033,10 +1033,6 @@ static int cam_tfe_bus_start_wm(struct cam_isp_resource_node *wm_res)
 			rsrc_data->stride);
 	}
 
-	/* Enable WM */
-	cam_io_w_mb(rsrc_data->en_cfg, common_data->mem_base +
-		rsrc_data->hw_regs->cfg);
-
 	CAM_DBG(CAM_ISP, "TFE:%d WM:%d width = %d, height = %d",
 		common_data->core_index, rsrc_data->index,
 		rsrc_data->width, rsrc_data->height);