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-q6-v2.c b/asoc/msm-pcm-q6-v2.c
index f40769b..0b312fe 100644
--- a/asoc/msm-pcm-q6-v2.c
+++ b/asoc/msm-pcm-q6-v2.c
@@ -1301,7 +1301,7 @@
return -ENODEV;
}
if (!substream->runtime) {
- pr_err("%s substream runtime not found\n", __func__);
+ pr_debug("%s substream runtime not found\n", __func__);
return 0;
}
prtd = substream->runtime->private_data;
@@ -1388,7 +1388,7 @@
return -EINVAL;
}
if (!substream->runtime) {
- pr_err("%s substream runtime not found\n", __func__);
+ pr_debug("%s substream runtime not found\n", __func__);
return 0;
}
prtd = substream->runtime->private_data;