Browse Source

msm: camera: isp: Update RM stride correctly at stream on

Update correct stride for SFE RMs on stream on.

CRs-Fixed: 3048429
Change-Id: I6dd4beb2d30453925e84323e9cdf2c60536e3f8c
Signed-off-by: Karthik Anantha Ram <[email protected]>
Karthik Anantha Ram 3 years ago
parent
commit
181f10a2be
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/cam_isp/isp_hw_mgr/isp_hw/sfe_hw/sfe_bus/cam_sfe_bus_rd.c

+ 1 - 1
drivers/cam_isp/isp_hw_mgr/isp_hw/sfe_hw/sfe_bus/cam_sfe_bus_rd.c

@@ -456,7 +456,7 @@ static int cam_sfe_bus_start_rm(struct cam_isp_resource_node *rm_res)
 		rm_data->hw_regs->buf_width);
 	cam_io_w_mb(rm_data->height, common_data->mem_base +
 		rm_data->hw_regs->buf_height);
-	cam_io_w_mb(rm_data->width, common_data->mem_base +
+	cam_io_w_mb(rm_data->stride, common_data->mem_base +
 		rm_data->hw_regs->stride);
 	cam_io_w_mb(rm_data->unpacker_cfg, common_data->mem_base +
 		rm_data->hw_regs->unpacker_cfg);