Merge series "ASoC: SOF: adjust dmesg verbosity" from Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>:
Decrease the dmesg verbosity to remove unnecessary logs on SoundWire
platforms, and conversely add more information to help the community
and downstream distros with HDaudio/SOF support (DMIC detection and card
instanciation are the most prevalent issues on GitHub).
Pierre-Louis Bossart (3):
ASoC: codecs: rt1308-sdw: reduce verbosity
ASoC: SOF: Intel: hda: reduce verbosity on SoundWire detection
ASoC: SOF: Intel: hda: log number of microphones detected in NHLT
tables
Ranjani Sridharan (1):
ASoC: soc-core: Add dynamic debug logs in soc_dai_link_sanity_check()
sound/soc/codecs/rt1308-sdw.c | 4 ++--
sound/soc/soc-core.c | 18 +++++++++++++++---
sound/soc/sof/intel/hda.c | 10 ++++++----
3 files changed, 23 insertions(+), 9 deletions(-)
base-commit: dd8e871d4e
--
2.20.1
Этот коммит содержится в:
@@ -863,8 +863,12 @@ static int soc_dai_link_sanity_check(struct snd_soc_card *card,
|
||||
* Defer card registration if codec component is not added to
|
||||
* component list.
|
||||
*/
|
||||
if (!soc_find_component(codec))
|
||||
if (!soc_find_component(codec)) {
|
||||
dev_dbg(card->dev,
|
||||
"ASoC: codec component %s not found for link %s\n",
|
||||
codec->name, link->name);
|
||||
return -EPROBE_DEFER;
|
||||
}
|
||||
}
|
||||
|
||||
for_each_link_platforms(link, i, platform) {
|
||||
@@ -884,8 +888,12 @@ static int soc_dai_link_sanity_check(struct snd_soc_card *card,
|
||||
* Defer card registration if platform component is not added to
|
||||
* component list.
|
||||
*/
|
||||
if (!soc_find_component(platform))
|
||||
if (!soc_find_component(platform)) {
|
||||
dev_dbg(card->dev,
|
||||
"ASoC: platform component %s not found for link %s\n",
|
||||
platform->name, link->name);
|
||||
return -EPROBE_DEFER;
|
||||
}
|
||||
}
|
||||
|
||||
for_each_link_cpus(link, i, cpu) {
|
||||
@@ -906,8 +914,12 @@ static int soc_dai_link_sanity_check(struct snd_soc_card *card,
|
||||
* component list.
|
||||
*/
|
||||
if ((cpu->of_node || cpu->name) &&
|
||||
!soc_find_component(cpu))
|
||||
!soc_find_component(cpu)) {
|
||||
dev_dbg(card->dev,
|
||||
"ASoC: cpu component %s not found for link %s\n",
|
||||
cpu->name, link->name);
|
||||
return -EPROBE_DEFER;
|
||||
}
|
||||
|
||||
/*
|
||||
* At least one of CPU DAI name or CPU device name/node must be
|
||||
|
Ссылка в новой задаче
Block a user