Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0816d560 authored by Gaurav Jindal's avatar Gaurav Jindal Committed by Gerrit - the friendly Code Review server
Browse files

msm: camera: isp: Correct the bitmask for packet header



Bitmask for printing the CSI short packet and CPHY packet is
configured wrong.
Change the bitmask to print the correct values.

CRs-Fixed: 2672724
Change-Id: I716ea7f6e1dacc9669498d01550009a290374237
Signed-off-by: default avatarGaurav Jindal <gjindal@codeaurora.org>
parent f65f27de
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -4246,7 +4246,7 @@ irqreturn_t cam_ife_csid_irq(int irq_num, void *data)
		CAM_INFO_RATE_LIMIT(CAM_ISP,
			"CSID:%d short pkt VC :%d DT:%d LC:%d",
			csid_hw->hw_intf->hw_idx,
			(val >> 22), ((val >> 16) & 0x1F), (val & 0xFFFF));
			(val >> 22), ((val >> 16) & 0x3F), (val & 0xFFFF));
		val = cam_io_r_mb(soc_info->reg_map[0].mem_base +
			csi2_reg->csid_csi2_rx_captured_short_pkt_1_addr);
		CAM_INFO_RATE_LIMIT(CAM_ISP, "CSID:%d short packet ECC :%d",
@@ -4262,7 +4262,7 @@ irqreturn_t cam_ife_csid_irq(int irq_num, void *data)
		CAM_INFO_RATE_LIMIT(CAM_ISP,
			"CSID:%d cphy packet VC :%d DT:%d WC:%d",
			csid_hw->hw_intf->hw_idx,
			(val >> 22), ((val >> 16) & 0x1F), (val & 0xFFFF));
			(val >> 22), ((val >> 16) & 0x3F), (val & 0xFFFF));
	}

	/*read the IPP errors */