소스 검색

msm: camera: isp: Do not reset Rx register during disable decoder

During disabling the CSI2, do not reset the rx registers to 0.
This can result in random behaviors if the phy is streaming.
Just disable the IRQs and let the stream off call handle the
reset part.

CRs-Fixed: 2946879
Change-Id: I936ea4026c72033a665958281d7f07751b4ae708
Signed-off-by: Gaurav Jindal <[email protected]>
Gaurav Jindal 4 년 전
부모
커밋
3f42dc6055
1개의 변경된 파일0개의 추가작업 그리고 6개의 파일을 삭제
  1. 0 6
      drivers/cam_isp/isp_hw_mgr/isp_hw/ife_csid_hw/cam_ife_csid_hw_ver2.c

+ 0 - 6
drivers/cam_isp/isp_hw_mgr/isp_hw/ife_csid_hw/cam_ife_csid_hw_ver2.c

@@ -732,12 +732,6 @@ static int cam_ife_csid_ver2_disable_csi2(
 		return 0;
 	}
 
-	/* Reset the Rx CFG registers */
-	cam_io_w_mb(0, soc_info->reg_map[0].mem_base +
-		csid_reg->csi2_reg->cfg0_addr);
-	cam_io_w_mb(0, soc_info->reg_map[0].mem_base +
-		csid_reg->csi2_reg->cfg1_addr);
-
 	if (csid_hw->rx_cfg.irq_handle) {
 		rc = cam_irq_controller_unsubscribe_irq(
 			csid_hw->csid_irq_controller,