Skip to content

Commit d71ed1c

Browse files
committed
ASoC: mt8183: Remove spammy logging from I2S DAI driver
There is a lot of dev_info() logging in normal operation in the I2S DAI driver, remove it to avoid spamming the console. Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Signed-off-by: Mark Brown <broonie@kernel.org> Link: https://lore.kernel.org/r/20230224-asoc-mt8183-quick-fixes-v1-1-041f29419ed5@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent fb1847c commit d71ed1c

1 file changed

Lines changed: 0 additions & 16 deletions

File tree

sound/soc/mediatek/mt8183/mt8183-dai-i2s.c

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,6 @@ static int mt8183_i2s_hd_set(struct snd_kcontrol *kcontrol,
148148

149149
hd_en = ucontrol->value.integer.value[0];
150150

151-
dev_info(afe->dev, "%s(), kcontrol name %s, hd_en %d\n",
152-
__func__, kcontrol->id.name, hd_en);
153-
154151
i2s_priv = get_i2s_priv_by_name(afe, kcontrol->id.name);
155152

156153
if (!i2s_priv) {
@@ -276,9 +273,6 @@ static int mtk_apll_event(struct snd_soc_dapm_widget *w,
276273
struct snd_soc_component *cmpnt = snd_soc_dapm_to_component(w->dapm);
277274
struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt);
278275

279-
dev_info(cmpnt->dev, "%s(), name %s, event 0x%x\n",
280-
__func__, w->name, event);
281-
282276
switch (event) {
283277
case SND_SOC_DAPM_PRE_PMU:
284278
if (strcmp(w->name, APLL1_W_NAME) == 0)
@@ -307,9 +301,6 @@ static int mtk_mclk_en_event(struct snd_soc_dapm_widget *w,
307301
struct mtk_base_afe *afe = snd_soc_component_get_drvdata(cmpnt);
308302
struct mtk_afe_i2s_priv *i2s_priv;
309303

310-
dev_info(cmpnt->dev, "%s(), name %s, event 0x%x\n",
311-
__func__, w->name, event);
312-
313304
i2s_priv = get_i2s_priv_by_name(afe, w->name);
314305

315306
if (!i2s_priv) {
@@ -715,11 +706,6 @@ static int mtk_dai_i2s_config(struct mtk_base_afe *afe,
715706
unsigned int i2s_con = 0, fmt_con = I2S_FMT_I2S << I2S_FMT_SFT;
716707
int ret = 0;
717708

718-
dev_info(afe->dev, "%s(), id %d, rate %d, format %d\n",
719-
__func__,
720-
i2s_id,
721-
rate, format);
722-
723709
if (i2s_priv) {
724710
i2s_priv->rate = rate;
725711

@@ -810,8 +796,6 @@ static int mtk_dai_i2s_set_sysclk(struct snd_soc_dai *dai,
810796
return -EINVAL;
811797
}
812798

813-
dev_info(afe->dev, "%s(), freq %d\n", __func__, freq);
814-
815799
apll = mt8183_get_apll_by_rate(afe, freq);
816800
apll_rate = mt8183_get_apll_rate(afe, apll);
817801

0 commit comments

Comments
 (0)