Răsfoiți Sursa

Merge "msm: camera: isp: Correct the IRQ masks and log buff index" into camera-kernel.lnx.5.0

Haritha Chintalapati 4 ani în urmă
părinte
comite
62f93c951c

+ 4 - 4
drivers/cam_isp/isp_hw_mgr/isp_hw/ife_csid_hw/cam_ife_csid680.h

@@ -482,7 +482,7 @@ static struct cam_ife_csid_ver2_rdi_reg_info
 		.stripe_loc_shift_val             = 20,
 		.ccif_violation_en                = 1,
 		.fatal_err_mask                   = 0x4,
-		.non_fatal_err_mask               = 10080000,
+		.non_fatal_err_mask               = 0x10080000,
 		.camif_irq_mask                   = 0x800000,
 		.rup_aup_mask                     = 0x200020,
 };
@@ -575,7 +575,7 @@ static struct cam_ife_csid_ver2_rdi_reg_info
 		.stripe_loc_shift_val             = 20,
 		.ccif_violation_en                = 1,
 		.fatal_err_mask                   = 0x4,
-		.non_fatal_err_mask               = 10080000,
+		.non_fatal_err_mask               = 0x10080000,
 		.camif_irq_mask                   = 0x800000,
 		.rup_aup_mask                     = 0x400040,
 };
@@ -668,7 +668,7 @@ static struct cam_ife_csid_ver2_rdi_reg_info
 		.stripe_loc_shift_val             = 20,
 		.ccif_violation_en                = 1,
 		.fatal_err_mask                   = 0x4,
-		.non_fatal_err_mask               = 10080000,
+		.non_fatal_err_mask               = 0x10080000,
 		.camif_irq_mask                   = 0x800000,
 		.rup_aup_mask                     = 0x800080,
 };
@@ -761,7 +761,7 @@ static struct cam_ife_csid_ver2_rdi_reg_info
 		.stripe_loc_shift_val            = 20,
 		.ccif_violation_en               = 1,
 		.fatal_err_mask                  = 0x4,
-		.non_fatal_err_mask              = 10080000,
+		.non_fatal_err_mask              = 0x10080000,
 		.camif_irq_mask                  = 0x800000,
 		.rup_aup_mask                    = 0x1000100,
 };

+ 2 - 2
drivers/cam_isp/isp_hw_mgr/isp_hw/ife_csid_hw/cam_ife_csid_hw_ver2.c

@@ -717,7 +717,7 @@ static int cam_ife_csid_ver2_rx_err_bottom_half(
 
 	if (irq_status) {
 
-		len += scnprintf(log_buf, CAM_IFE_CSID_LOG_BUF_LEN - len,
+		len += scnprintf(log_buf + len, CAM_IFE_CSID_LOG_BUF_LEN - len,
 			"Part-fatal-errors:\n");
 
 		if (irq_status & IFE_CSID_VER2_RX_CPHY_EOT_RECEPTION)
@@ -745,7 +745,7 @@ static int cam_ife_csid_ver2_rx_err_bottom_half(
 		csi2_reg->non_fatal_err_mask;
 
 	if (irq_status) {
-		len += scnprintf(log_buf, CAM_IFE_CSID_LOG_BUF_LEN - len,
+		len += scnprintf(log_buf + len, CAM_IFE_CSID_LOG_BUF_LEN - len,
 			"Non-fatal-errors:\n");
 
 		if (irq_status & IFE_CSID_VER2_RX_MMAPPED_VC_DT)

+ 5 - 5
drivers/cam_isp/isp_hw_mgr/isp_hw/ife_csid_hw/cam_ife_csid_lite680.h

@@ -302,7 +302,7 @@ static struct cam_ife_csid_ver2_pxl_reg_info
 		.min_hbi_shift_val                = 4,
 		.start_master_sel_shift_val       = 4,
 		.fatal_err_mask                   = 0x4,
-		.non_fatal_err_mask               = 0x28000,
+		.non_fatal_err_mask               = 0x10080000,
 		.camif_irq_mask                   = 0x800000,
 		.rup_aup_mask                     = 0x10001,
 };
@@ -389,7 +389,7 @@ static struct cam_ife_csid_ver2_rdi_reg_info
 		.debug_byte_cntr_rst_shift_val  = 2,
 		.ccif_violation_en              = 1,
 		.fatal_err_mask                 = 0x4,
-		.non_fatal_err_mask             = 0x28000,
+		.non_fatal_err_mask             = 0x10080000,
 		.camif_irq_mask                 = 0x800000,
 		.rup_aup_mask                   = 0x100010,
 };
@@ -475,7 +475,7 @@ static struct cam_ife_csid_ver2_rdi_reg_info
 		.debug_byte_cntr_rst_shift_val  = 2,
 		.ccif_violation_en              = 1,
 		.fatal_err_mask                 = 0x4,
-		.non_fatal_err_mask             = 0x28000,
+		.non_fatal_err_mask             = 0x10080000,
 		.camif_irq_mask                 = 0x800000,
 		.rup_aup_mask                   = 0x200020,
 };
@@ -561,7 +561,7 @@ static struct cam_ife_csid_ver2_rdi_reg_info
 		.debug_byte_cntr_rst_shift_val  = 2,
 		.ccif_violation_en              = 1,
 		.fatal_err_mask                 = 0x4,
-		.non_fatal_err_mask             = 0x28000,
+		.non_fatal_err_mask             = 0x10080000,
 		.camif_irq_mask                 = 0x800000,
 		.rup_aup_mask                   = 0x400040,
 };
@@ -647,7 +647,7 @@ static struct cam_ife_csid_ver2_rdi_reg_info
 		.debug_byte_cntr_rst_shift_val  = 2,
 		.ccif_violation_en              = 1,
 		.fatal_err_mask                 = 0x4,
-		.non_fatal_err_mask             = 0x28000,
+		.non_fatal_err_mask             = 0x10080000,
 		.camif_irq_mask                 = 0x800000,
 		.rup_aup_mask                   = 0x800080,
 };