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: Tejas Prajapati <tpraja@codeaurora.org>
This commit is contained in:

committed by
Gerrit - the friendly Code Review server

parent
c4d16b525c
commit
24bb90e6ea
@@ -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';
|
||||
|
Reference in New Issue
Block a user