summaryrefslogtreecommitdiffstats
path: root/sound/soc/tegra/tegra_sgtl5000.c
diff options
context:
space:
mode:
authorJon Hunter <jonathanh@nvidia.com>2020-11-11 10:32:45 +0000
committerMark Brown <broonie@kernel.org>2020-11-11 12:35:10 +0000
commit34d3daba23399440dedddd0f9ccd6c1057314139 (patch)
tree980689c1cb706e6db85f2af06ec09169b0e884cd /sound/soc/tegra/tegra_sgtl5000.c
parent0a142f536785196397aa07aa1c81343b9db0a3b9 (diff)
downloadlinux-stable-34d3daba23399440dedddd0f9ccd6c1057314139.tar.gz
linux-stable-34d3daba23399440dedddd0f9ccd6c1057314139.tar.bz2
linux-stable-34d3daba23399440dedddd0f9ccd6c1057314139.zip
ASoC: tegra: Don't warn on probe deferral
Deferred probe is an expected return value for snd_soc_register_card(). Given that the driver deals with it properly, there's no need to output a warning that may potentially confuse users. Signed-off-by: Jon Hunter <jonathanh@nvidia.com> Link: https://lore.kernel.org/r/20201111103245.152189-1-jonathanh@nvidia.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/tegra/tegra_sgtl5000.c')
-rw-r--r--sound/soc/tegra/tegra_sgtl5000.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/soc/tegra/tegra_sgtl5000.c b/sound/soc/tegra/tegra_sgtl5000.c
index e1dc8e7d337a..885332170c77 100644
--- a/sound/soc/tegra/tegra_sgtl5000.c
+++ b/sound/soc/tegra/tegra_sgtl5000.c
@@ -154,8 +154,8 @@ static int tegra_sgtl5000_driver_probe(struct platform_device *pdev)
ret = snd_soc_register_card(card);
if (ret) {
- dev_err(&pdev->dev, "snd_soc_register_card failed (%d)\n",
- ret);
+ dev_err_probe(&pdev->dev, ret,
+ "snd_soc_register_card failed\n");
goto err_put_cpu_of_node;
}