asoc: update log level to avoid execessive logging
Excessive logging causes throttling during bootup.
Update log level from error to debug in get functions to
avoid excessive logging.
CRs-Fixed: 2321589
Change-Id: If2a23144adf76cdd9bb2d9048a967b63186d7f6e
Signed-off-by: Vignesh Kulothungan <vigneshk@codeaurora.org>
diff --git a/asoc/msm-pcm-routing-v2.c b/asoc/msm-pcm-routing-v2.c
index 9e44594..1d1a267 100644
--- a/asoc/msm-pcm-routing-v2.c
+++ b/asoc/msm-pcm-routing-v2.c
@@ -17017,7 +17017,7 @@
ret = voc_get_sound_focus(&soundFocusData);
if (ret) {
- pr_err("%s: Error getting Sound Focus Params, err=%d\n",
+ pr_debug("%s: Error getting Sound Focus Params, err=%d\n",
__func__, ret);
ret = -EINVAL;
@@ -17049,7 +17049,7 @@
ret = voc_get_source_tracking(&sourceTrackingData);
if (ret) {
- pr_err("%s: Error getting Source Tracking Params, err=%d\n",
+ pr_debug("%s: Error getting Source Tracking Params, err=%d\n",
__func__, ret);
ret = -EINVAL;
@@ -17105,7 +17105,7 @@
break;
}
if (i >= MSM_FRONTEND_DAI_MM_SIZE) {
- pr_err("%s: Invalid FE, exiting\n", __func__);
+ pr_debug("%s: Invalid FE, exiting\n", __func__);
ret = -EINVAL;
goto done;
@@ -17221,7 +17221,7 @@
ret = msm_audio_get_copp_idx_from_port_id(port_id, SESSION_TYPE_TX,
&copp_idx);
if (ret) {
- pr_err("%s: Could not get copp idx for port_id=%d\n",
+ pr_debug("%s: Could not get copp idx for port_id=%d\n",
__func__, port_id);
ret = -EINVAL;
@@ -17264,7 +17264,7 @@
ret = msm_audio_get_copp_idx_from_port_id(port_id, SESSION_TYPE_TX,
&copp_idx);
if (ret) {
- pr_err("%s: Could not get copp idx for port_id=%d\n",
+ pr_debug("%s: Could not get copp idx for port_id=%d\n",
__func__, port_id);
ret = -EINVAL;