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

Commit c0a64840 authored by Krishnankutty Kolathappilly's avatar Krishnankutty Kolathappilly
Browse files

msm: camera: isp: Add appropriate value for camif subsample pattern



Incorrect bit updated for camif subsample pattern causes preview
freeze during hfr batch mode. Add appropriate value for camif
subsample pattern.

Change-Id: Ia715c90eafe889512c25262ebadc1408d926d323
Signed-off-by: default avatarKrishnankutty Kolathappilly <kkolatha@codeaurora.org>
parent 465357be
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1188,8 +1188,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);