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

Commit cca7b5b2 authored by Venkat Chinta's avatar Venkat Chinta
Browse files

msm: camera: vfe: Fix logs



This change fixes format specifier to print command
update size and also adds a log to reg dump routine
to accommodate all the information.

Change-Id: I9993404ff0e9863d681653580e2ad373747f580b
Signed-off-by: default avatarVenkat Chinta <vchinta@codeaurora.org>
parent b1d3f812
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -193,7 +193,7 @@ static int cam_vfe_camif_ver3_get_reg_update(
	struct cam_vfe_mux_camif_ver3_data *rsrc_data = NULL;

	if (arg_size != sizeof(struct cam_isp_hw_get_cmd_update)) {
		CAM_ERR(CAM_ISP, "Invalid arg size: %d expected:%d",
		CAM_ERR(CAM_ISP, "Invalid arg size: %d expected:%ld",
			arg_size, sizeof(struct cam_isp_hw_get_cmd_update));
		return -EINVAL;
	}
@@ -533,7 +533,10 @@ static int cam_vfe_camif_ver3_reg_dump(
			wm_idx, offset,
			cam_io_r_mb(camif_priv->mem_base + offset),
			offset + 4, cam_io_r_mb(camif_priv->mem_base +
			offset + 4), offset + 8,
			offset + 4));
		CAM_INFO(CAM_ISP,
			"BUS_WM%u offset 0x%x val 0x%x offset 0x%x val 0x%x",
			wm_idx, offset + 8,
			cam_io_r_mb(camif_priv->mem_base + offset + 8),
			offset + 12, cam_io_r_mb(camif_priv->mem_base +
			offset + 12));