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

Commit 831cc7ce authored by Linux Build Service Account's avatar Linux Build Service Account
Browse files

Merge ad59b31b on remote branch

Change-Id: I769febf4874e5b3e2eecc3e847c0d864d2f16fb9
parents e6caa5f6 ad59b31b
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
// SPDX-License-Identifier: GPL-2.0-only
/* Copyright (c) 2012-2021, The Linux Foundation. All rights reserved.
 * Copyright (c) 2022 Qualcomm Innovation Center, Inc. All rights reserved.
 */
#include <linux/init.h>
@@ -1665,6 +1666,11 @@ static int msm_pcm_routing_channel_mixer_v2(int fe_id, bool perf_mode,
	}
	be_id = channel_mixer_v2[fe_id][sess_type].port_idx - 1;
	if (be_id < 0 || be_id >= MSM_BACKEND_DAI_MAX) {
		pr_err("%s: Received out of bounds be_id %d\n",
				__func__, be_id);
		return -EINVAL;
	}
	channel_mixer_v2[fe_id][sess_type].input_channels[0] =
		channel_mixer_v2[fe_id][sess_type].input_channel;