mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 18:09:56 +00:00
ASoC: AMD: Clean kernel log from deferred probe error messages
[ Upstream commit f7660445c8 ]
While the driver waits for DAIs to be probed and retries probing,
have the error messages at debug level instead of error.
Signed-off-by: Akshu Agrawal <akshu.agrawal@amd.com>
Link: https://lore.kernel.org/r/20200826185454.5545-1-akshu.agrawal@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
0d6d22fb20
commit
7c9edabec5
@@ -472,12 +472,17 @@ static int acp3x_probe(struct platform_device *pdev)
|
|||||||
|
|
||||||
ret = devm_snd_soc_register_card(&pdev->dev, card);
|
ret = devm_snd_soc_register_card(&pdev->dev, card);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
|
if (ret != -EPROBE_DEFER)
|
||||||
dev_err(&pdev->dev,
|
dev_err(&pdev->dev,
|
||||||
"devm_snd_soc_register_card(%s) failed: %d\n",
|
"devm_snd_soc_register_card(%s) failed: %d\n",
|
||||||
card->name, ret);
|
card->name, ret);
|
||||||
return ret;
|
else
|
||||||
|
dev_dbg(&pdev->dev,
|
||||||
|
"devm_snd_soc_register_card(%s) probe deferred: %d\n",
|
||||||
|
card->name, ret);
|
||||||
}
|
}
|
||||||
return 0;
|
|
||||||
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
static const struct acpi_device_id acp3x_audio_acpi_match[] = {
|
static const struct acpi_device_id acp3x_audio_acpi_match[] = {
|
||||||
|
|||||||
Reference in New Issue
Block a user