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

Commit 00b08d32 authored by Tejas Prajapati's avatar Tejas Prajapati
Browse files

msm: camera: utils: add spacing between register values



when using the cam_io_dump function to dump the register
values we are getting 4 register values without spacing
which makes is difficult to read, so adding space
between two specific register values.

CRs-Fixed: 2675959
Change-Id: I7e5db59398e406c30aa9729eb38331aa85736175
Signed-off-by: default avatarTejas Prajapati <tpraja@codeaurora.org>
parent f9b7fd02
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -265,8 +265,8 @@ int cam_io_dump(void __iomem *base_addr, uint32_t start_offset, int size)
			p_str += 11;
		}
		data = readl_relaxed(base_addr + REG_OFFSET(start_offset, i));
		snprintf(p_str, 9, "%08x ", data);
		p_str += 8;
		snprintf(p_str, 10, "%08x  ", data);
		p_str += 9;
		if ((i + 1) % NUM_REGISTER_PER_LINE == 0) {
			CAM_ERR(CAM_UTIL, "%s", line_str);
			line_str[0] = '\0';