Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f53b149a authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ASoC: Change info logs to debug"

parents 6c77d648 894d6ad7
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -959,9 +959,13 @@ int snd_soc_new_compress(struct snd_soc_pcm_runtime *rtd, int num)

	rtd->compr = compr;
	compr->private_data = rtd;

	dev_info(rtd->card->dev, "Compress ASoC: %s <-> %s mapping ok\n",
#ifdef CONFIG_AUDIO_QGKI
	dev_dbg(rtd->card->dev, "Compress ASoC: %s <-> %s mapping ok\n",
		 codec_dai->name, cpu_dai->name);
#else
	dev_info(rtd->card->dev, "Compress ASoC: %s <-> %s mapping ok\n",
		 codai->name, cpu_dai->name);
#endif

	return 0;
}
+7 −1
Original line number Diff line number Diff line
@@ -2957,9 +2957,15 @@ int soc_new_pcm(struct snd_soc_pcm_runtime *rtd, int num)
	pcm->private_free = soc_pcm_private_free;
	pcm->no_device_suspend = true;
out:
#ifdef CONFIG_AUDIO_QGKI
	dev_dbg(rtd->card->dev, "%s <-> %s mapping ok\n",
		 (rtd->num_codecs > 1) ? "multicodec" : rtd->codec_dai->name,
		 cpu_dai->name);
#else
	dev_info(rtd->card->dev, "%s <-> %s mapping ok\n",
		(rtd->num_codecs > 1) ? "multicodec" : rtd->codec_dai->name,
		cpu_dai->name);
#endif
	return ret;
}