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

Commit 3e5397ff authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: camera: Fix inconsistent behavior of VFE_READ_DMI_64BIT"

parents 64600e1b ef65a6e5
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -562,7 +562,8 @@ static int msm_isp_send_hw_cmd(struct vfe_device *vfe_dev,
			if (reg_cfg_cmd->cmd_type == VFE_READ_DMI_64BIT) {
				hi_val = msm_camera_io_r(vfe_dev->vfe_base +
					vfe_dev->hw_info->dmi_reg_offset);
				*hi_tbl_ptr++ = hi_val;
				*hi_tbl_ptr = hi_val;
				hi_tbl_ptr += 2;
			}

			lo_val = msm_camera_io_r(vfe_dev->vfe_base +
@@ -574,6 +575,8 @@ static int msm_isp_send_hw_cmd(struct vfe_device *vfe_dev,
				lo_val |= lo_val1 << 16;
			}
			*lo_tbl_ptr++ = lo_val;
			if (reg_cfg_cmd->cmd_type == VFE_READ_DMI_64BIT)
				lo_tbl_ptr++;
		}
		break;
	}