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

Commit e42d586d authored by Peter Liu's avatar Peter Liu
Browse files

msm: camera: fix AXI RESET cmd field to be 32 byte



In 32 bit userspace and 64 bit kernel,
using long could cause the bit lenght difference in kernel and userspace.
change to use uint32_t instead of long.

Change-Id: I2f3d8f30074b444e2919b53ddb0247da5f97baa9
Signed-off-by: default avatarPeter Liu <pingchie@codeaurora.org>
parent a206d164
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1399,6 +1399,8 @@ static int msm_isp_start_axi_stream(struct vfe_device *vfe_dev,
	vfe_dev->hw_info->vfe_ops.core_ops.reg_update(vfe_dev);
	msm_isp_update_camif_output_count(vfe_dev, stream_cfg_cmd);
	if (camif_update == ENABLE_CAMIF) {
		atomic_set(&vfe_dev->error_info.overflow_state,
				NO_OVERFLOW);
		vfe_dev->axi_data.src_info[VFE_PIX_0].frame_id = 0;
		vfe_dev->hw_info->vfe_ops.core_ops.
			update_camif_state(vfe_dev, camif_update);
+1 −1
Original line number Diff line number Diff line
@@ -242,7 +242,7 @@ struct msm_vfe_axi_halt_cmd {

struct msm_vfe_axi_reset_cmd {
	uint32_t blocking;
	unsigned long frame_id;
	uint32_t frame_id;
};

struct msm_vfe_axi_restart_cmd {