提交 fb753697 编写于 作者: P Phil Elwell 提交者: Zheng Zengkai

sound: Demote deferral errors to INFO level

raspberrypi inclusion
category: feature
bugzilla: 50432

--------------------------------

At present there is no mechanism to specify driver load order,
which can lead to deferrals and repeated retries until successful.
Since this situation is expected, reduce the dmesg level to
INFO and mention that the operation will be retried.
Signed-off-by: NPhil Elwell <phil@raspberrypi.org>
Signed-off-by: NFang Yafen <yafen@iscas.ac.cn>
Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
上级 1ce2ef96
...@@ -1015,7 +1015,7 @@ int snd_soc_add_pcm_runtime(struct snd_soc_card *card, ...@@ -1015,7 +1015,7 @@ int snd_soc_add_pcm_runtime(struct snd_soc_card *card,
for_each_link_cpus(dai_link, i, cpu) { for_each_link_cpus(dai_link, i, cpu) {
asoc_rtd_to_cpu(rtd, i) = snd_soc_find_dai(cpu); asoc_rtd_to_cpu(rtd, i) = snd_soc_find_dai(cpu);
if (!asoc_rtd_to_cpu(rtd, i)) { if (!asoc_rtd_to_cpu(rtd, i)) {
dev_info(card->dev, "ASoC: CPU DAI %s not registered\n", dev_info(card->dev, "ASoC: CPU DAI %s not registered - will retry\n",
cpu->dai_name); cpu->dai_name);
goto _err_defer; goto _err_defer;
} }
...@@ -1026,7 +1026,7 @@ int snd_soc_add_pcm_runtime(struct snd_soc_card *card, ...@@ -1026,7 +1026,7 @@ int snd_soc_add_pcm_runtime(struct snd_soc_card *card,
for_each_link_codecs(dai_link, i, codec) { for_each_link_codecs(dai_link, i, codec) {
asoc_rtd_to_codec(rtd, i) = snd_soc_find_dai(codec); asoc_rtd_to_codec(rtd, i) = snd_soc_find_dai(codec);
if (!asoc_rtd_to_codec(rtd, i)) { if (!asoc_rtd_to_codec(rtd, i)) {
dev_info(card->dev, "ASoC: CODEC DAI %s not registered\n", dev_info(card->dev, "ASoC: CODEC DAI %s not registered- will retry\n",
codec->dai_name); codec->dai_name);
goto _err_defer; goto _err_defer;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册