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

Commit 7ee2c81b authored by Terence Ho's avatar Terence Ho Committed by Gerrit - the friendly Code Review server
Browse files

msm: camera: Fix to enable RDI2



Fix incorrect comparison that prevented RDI2 from being enabled.

Change-Id: I4f18a290237f074b6a095d33dcd8429f90c8a1d5
Signed-off-by: default avatarTerence Ho <terenceh@codeaurora.org>
parent 188ab649
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1162,7 +1162,7 @@ static int msm_isp_axi_stream_enable_cfg(
	uint32_t stream_idx = HANDLE_TO_IDX(stream_info->stream_handle);
	struct dual_vfe_resource *dual_vfe_res = NULL;

	if (stream_idx >= MAX_NUM_STREAM) {
	if (stream_idx >= VFE_AXI_SRC_MAX) {
		pr_err("%s: Invalid stream_idx", __func__);
		goto error;
	}