Parcourir la source

msm: camera: isp: Add top irq mask for csi rx of csid lite

If use csid lite, the csi phy rx irq doesn't set correct top irq
mask value while register dependent, and if error happens on csi
phy, we cannot stop csi rx and disable irq lead to irq storm and
phone crash.

CRs-Fixed: 3339444
Change-Id: Iae2fe4c40959b913959445a6f1631b7acf48b4af
Signed-off-by: chengxue <[email protected]>
chengxue il y a 2 ans
Parent
commit
db2aba9fbd

+ 1 - 0
drivers/cam_isp/isp_hw_mgr/isp_hw/ife_csid_hw/cam_ife_csid_lite680.h

@@ -500,6 +500,7 @@ static struct cam_ife_csid_csi2_rx_reg_info
 		.fatal_err_mask                       = 0x19FA800,
 		.part_fatal_err_mask                  = 0x0001000,
 		.non_fatal_err_mask                   = 0x0200000,
+		.top_irq_mask                         = 0x4,
 };
 
 static struct cam_ife_csid_ver2_path_reg_info

+ 1 - 0
drivers/cam_isp/isp_hw_mgr/isp_hw/ife_csid_hw/cam_ife_csid_lite780.h

@@ -540,6 +540,7 @@ static struct cam_ife_csid_csi2_rx_reg_info
 		.fatal_err_mask                       = 0x19FA800,
 		.part_fatal_err_mask                  = 0x0001000,
 		.non_fatal_err_mask                   = 0x0200000,
+		.top_irq_mask                         = 0x4,
 };
 
 static struct cam_ife_csid_ver2_path_reg_info

+ 1 - 0
drivers/cam_isp/isp_hw_mgr/isp_hw/ife_csid_hw/cam_ife_csid_lite880.h

@@ -549,6 +549,7 @@ static struct cam_ife_csid_csi2_rx_reg_info
 		.fatal_err_mask                       = 0x19FA800,
 		.part_fatal_err_mask                  = 0x0001000,
 		.non_fatal_err_mask                   = 0x0200000,
+		.top_irq_mask                         = 0x4,
 };
 
 static struct cam_ife_csid_ver2_path_reg_info