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

Commit 104b1b72 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: isp: Add appropriate value for camif subsample pattern"

parents 8b862a1f c0a64840
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1207,8 +1207,8 @@ static void msm_vfe47_cfg_camif(struct vfe_device *vfe_dev,
	msm_camera_io_w(0xFFFFFFFF, vfe_dev->vfe_base + 0x49C);
	if (subsample_period && subsample_pattern) {
		val = msm_camera_io_r(vfe_dev->vfe_base + 0x494);
		val &= 0xFFE0FFFF;
		val = (subsample_period - 1) << 16;
		val &= 0xFFFFE0FF;
		val = (subsample_period - 1) << 8;
		msm_camera_io_w(val, vfe_dev->vfe_base + 0x494);
		ISP_DBG("%s:camif PERIOD %x PATTERN %x\n",
			__func__,  subsample_period, subsample_pattern);