From 4bb46e759d4e98fb73e93888ea8231154abe43dd Mon Sep 17 00:00:00 2001 From: Vatsal Bucha Date: Mon, 22 Jun 2020 11:19:10 +0530 Subject: [PATCH] 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: Vatsal Bucha --- asoc/msm-pcm-routing-v2.c | 1 - asoc/msm-qti-pp-config.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/asoc/msm-pcm-routing-v2.c b/asoc/msm-pcm-routing-v2.c index 139d4047608c..c397dc41753f 100644 --- a/asoc/msm-pcm-routing-v2.c +++ b/asoc/msm-pcm-routing-v2.c @@ -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"}, diff --git a/asoc/msm-qti-pp-config.c b/asoc/msm-qti-pp-config.c index e26e421fe3ae..e5f07d0e4310 100644 --- a/asoc/msm-qti-pp-config.c +++ b/asoc/msm-qti-pp-config.c @@ -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;