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

Commit 1be27883 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: Reset HVX state during last stream off"

parents 6acdd386 fba32140
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -1295,7 +1295,6 @@ static void msm_vfe47_configure_hvx(struct vfe_device *vfe_dev,
		val = msm_camera_io_r(vfe_dev->vfe_base + 0x50);
		val &= 0xFFFFFFF7;
		msm_camera_io_w_mb(val, vfe_dev->vfe_base + 0x50);
		vfe_dev->hvx_cmd = HVX_DISABLE;
	}
}

+4 −2
Original line number Diff line number Diff line
@@ -2230,8 +2230,6 @@ int msm_isp_cfg_axi_stream(struct vfe_device *vfe_dev, void *arg)
	if (axi_data->num_active_stream == 0) {
		/*Configure UB*/
		vfe_dev->hw_info->vfe_ops.axi_ops.cfg_ub(vfe_dev);
		/* Reset hvx state */
		vfe_dev->hvx_cmd = HVX_DISABLE;
	}
	camif_update = msm_isp_get_camif_update_state(vfe_dev, stream_cfg_cmd);

@@ -2245,6 +2243,10 @@ int msm_isp_cfg_axi_stream(struct vfe_device *vfe_dev, void *arg)
		   vfe_dev, stream_cfg_cmd, camif_update);

		msm_isp_axi_update_cgc_override(vfe_dev, stream_cfg_cmd, 0);
		if (axi_data->num_active_stream == 0) {
			/* Reset hvx state */
			vfe_dev->hvx_cmd = HVX_DISABLE;
		}
	}

	if (rc < 0)