From 32482607bc0896f844cf8e73de91f3c301c58916 Mon Sep 17 00:00:00 2001 From: Xiaoyu Ye Date: Mon, 1 Jun 2020 09:12:34 -0700 Subject: [PATCH] asoc: convert pr_info to pr_debug to reduce kernel logs To reduce kernel logs, change unnecessary pr_info to pr_debug in audio drivers. Change-Id: I32e2e31b87bf0486352c99c04d455f3fdd2677da Signed-off-by: Xiaoyu Ye --- asoc/msm-pcm-host-voice-v2.c | 4 ++-- asoc/msm-qti-pp-config.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/asoc/msm-pcm-host-voice-v2.c b/asoc/msm-pcm-host-voice-v2.c index 41c3982dd343..f40c9ab0db77 100644 --- a/asoc/msm-pcm-host-voice-v2.c +++ b/asoc/msm-pcm-host-voice-v2.c @@ -1,5 +1,5 @@ // SPDX-License-Identifier: GPL-2.0-only -/* Copyright (c) 2013-2019, The Linux Foundation. All rights reserved. +/* Copyright (c) 2013-2020, The Linux Foundation. All rights reserved. */ #include @@ -1455,7 +1455,7 @@ static struct snd_soc_component_driver msm_soc_component = { static int msm_pcm_probe(struct platform_device *pdev) { - pr_info("%s: dev name %s\n", __func__, dev_name(&pdev->dev)); + pr_debug("%s: dev name %s\n", __func__, dev_name(&pdev->dev)); return snd_soc_register_component(&pdev->dev, &msm_soc_component, NULL, 0); } diff --git a/asoc/msm-qti-pp-config.c b/asoc/msm-qti-pp-config.c index 8a5ebce6ec46..b3898c64456d 100644 --- a/asoc/msm-qti-pp-config.c +++ b/asoc/msm-qti-pp-config.c @@ -1269,11 +1269,11 @@ int msm_adsp_inform_mixer_ctl(struct snd_soc_pcm_runtime *rtd, spin_lock_irqsave(&kctl_prtd->prtd_spin_lock, spin_flags); while (kctl_prtd->event_count >= DSP_STREAM_CALLBACK_QUEUE_SIZE) { - pr_info("%s: queue of size %d is full. delete oldest one.\n", + pr_debug("%s: queue of size %d is full. delete oldest one.\n", __func__, DSP_STREAM_CALLBACK_QUEUE_SIZE); oldest_event = list_first_entry(&kctl_prtd->event_queue, struct dsp_stream_callback_list, list); - pr_info("%s: event deleted: type %d length %d\n", + pr_debug("%s: event deleted: type %d length %d\n", __func__, oldest_event->event.event_type, oldest_event->event.payload_len); list_del(&oldest_event->list);