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>
Этот коммит содержится в:

коммит произвёл
Gerrit - the friendly Code Review server

родитель
c4d16b525c
Коммит
24bb90e6ea
@@ -265,8 +265,8 @@ int cam_io_dump(void __iomem *base_addr, uint32_t start_offset, int size)
|
|||||||
p_str += 11;
|
p_str += 11;
|
||||||
}
|
}
|
||||||
data = readl_relaxed(base_addr + REG_OFFSET(start_offset, i));
|
data = readl_relaxed(base_addr + REG_OFFSET(start_offset, i));
|
||||||
snprintf(p_str, 9, "%08x ", data);
|
snprintf(p_str, 10, "%08x ", data);
|
||||||
p_str += 8;
|
p_str += 9;
|
||||||
if ((i + 1) % NUM_REGISTER_PER_LINE == 0) {
|
if ((i + 1) % NUM_REGISTER_PER_LINE == 0) {
|
||||||
CAM_ERR(CAM_UTIL, "%s", line_str);
|
CAM_ERR(CAM_UTIL, "%s", line_str);
|
||||||
line_str[0] = '\0';
|
line_str[0] = '\0';
|
||||||
|
Ссылка в новой задаче
Block a user