summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/tegra/sor.c
diff options
context:
space:
mode:
authorJon Hunter <jonathanh@nvidia.com>2020-11-06 12:14:20 +0300
committerThierry Reding <treding@nvidia.com>2020-11-09 16:32:45 +0300
commitcb7ff314e1d9f3d6c62fa2c392e41174721ed0b3 (patch)
treef133711c77b7f0c22c625a81eeabe37d0f362fd3 /drivers/gpu/drm/tegra/sor.c
parent3650b228f83adda7e5ee532e2b90429c03f7b9ec (diff)
downloadlinux-cb7ff314e1d9f3d6c62fa2c392e41174721ed0b3.tar.xz
drm/tegra: sor: Don't warn on probe deferral
Deferred probe is an expected return value for tegra_output_probe(). 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> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/drm/tegra/sor.c')
-rw-r--r--drivers/gpu/drm/tegra/sor.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/gpu/drm/tegra/sor.c b/drivers/gpu/drm/tegra/sor.c
index e88a17c2937f..a5b944dacb35 100644
--- a/drivers/gpu/drm/tegra/sor.c
+++ b/drivers/gpu/drm/tegra/sor.c
@@ -3764,10 +3764,9 @@ static int tegra_sor_probe(struct platform_device *pdev)
return err;
err = tegra_output_probe(&sor->output);
- if (err < 0) {
- dev_err(&pdev->dev, "failed to probe output: %d\n", err);
- return err;
- }
+ if (err < 0)
+ return dev_err_probe(&pdev->dev, err,
+ "failed to probe output\n");
if (sor->ops && sor->ops->probe) {
err = sor->ops->probe(sor);