asoc: audio-kernel: Remove trace_printk

Remove trace_printk point.

Change-Id: I76b53eda77bc41c75e06a885084022d74c248188
Signed-off-by: yuayang <quic_yuayang@quicinc.com>
This commit is contained in:
yuayang
2023-12-13 14:42:17 +08:00
parent e5a753acaf
commit 568d8d0822
18 changed files with 8 additions and 182 deletions

View File

@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0-only
/* Copyright (c) 2018-2021, The Linux Foundation. All rights reserved.
* Copyright (c) 2022-2023 Qualcomm Innovation Center, Inc. All rights reserved.
* Copyright (c) 2022-2023, Qualcomm Innovation Center, Inc. All rights reserved.
*/
#include <linux/module.h>
@@ -1074,7 +1074,6 @@ static int lpass_cdc_wsa2_macro_event_handler(struct snd_soc_component *componen
switch (event) {
case LPASS_CDC_MACRO_EVT_SSR_DOWN:
wsa2_priv->pre_dev_up = false;
trace_printk("%s, enter SSR down\n", __func__);
if (wsa2_priv->swr_ctrl_data) {
swrm_wcd_notify(
wsa2_priv->swr_ctrl_data[0].wsa2_swr_pdev,
@@ -1093,7 +1092,6 @@ static int lpass_cdc_wsa2_macro_event_handler(struct snd_soc_component *componen
case LPASS_CDC_MACRO_EVT_PRE_SSR_UP:
break;
case LPASS_CDC_MACRO_EVT_SSR_UP:
trace_printk("%s, enter SSR up\n", __func__);
wsa2_priv->pre_dev_up = true;
/* reset swr after ssr/pdr */
wsa2_priv->reset_swr = true;
@@ -3469,9 +3467,6 @@ static int wsa2_swrm_clock(void *handle, bool enable)
mutex_lock(&wsa2_priv->swr_clk_lock);
trace_printk("%s: %s swrm clock %s\n",
dev_name(wsa2_priv->dev), __func__,
(enable ? "enable" : "disable"));
dev_dbg(wsa2_priv->dev, "%s: swrm clock %s\n",
__func__, (enable ? "enable" : "disable"));
if (enable) {
@@ -3540,9 +3535,6 @@ static int wsa2_swrm_clock(void *handle, bool enable)
}
}
}
trace_printk("%s: %s swrm clock users: %d\n",
dev_name(wsa2_priv->dev), __func__,
wsa2_priv->swr_clk_users);
dev_dbg(wsa2_priv->dev, "%s: swrm clock users %d\n",
__func__, wsa2_priv->swr_clk_users);
exit: