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

Commit 4bb46e75 authored by Vatsal Bucha's avatar Vatsal Bucha
Browse files

ASoC: Resolve error logs printed at bootup



Error logs are printed by default during bootup
due to get function called for all controls.
Remove error logs and not used controls.

Change-Id: I7d73432bcdd0c527ea78b0ec1c9650056eadcfe5
Signed-off-by: default avatarVatsal Bucha <vbucha@codeaurora.org>
parent 06ed8063
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -27962,7 +27962,6 @@ static const struct snd_soc_dapm_route intercon[] = {
	{"MM_UL20", NULL, "MultiMedia20 Mixer"},
	{"MM_UL21", NULL, "MultiMedia21 Mixer"},
	{"MM_UL22", NULL, "MultiMedia22 Mixer"},
	{"MM_UL23", NULL, "MultiMedia23 Mixer"},
	{"MM_UL24", NULL, "MultiMedia24 Mixer"},
	{"MM_UL25", NULL, "MultiMedia25 Mixer"},
	{"MM_UL27", NULL, "MultiMedia27 Mixer"},
+1 −1
Original line number Diff line number Diff line
@@ -536,7 +536,7 @@ static int msm_qti_pp_get_rms_value_control(struct snd_kcontrol *kcontrol,
			break;
	}
	if ((be_idx >= MSM_BACKEND_DAI_MAX) || !msm_bedai.active) {
		pr_err("%s, back not active to query rms be_idx:%d\n",
		pr_debug("%s, back not active to query rms be_idx:%d\n",
			__func__, be_idx);
		rc = -EINVAL;
		goto get_rms_value_err;