Skip to content

Commit cb7ff31

Browse files
jonhunterthierryreding
authored andcommitted
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>
1 parent 3650b22 commit cb7ff31

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

  • drivers/gpu/drm/tegra

drivers/gpu/drm/tegra/sor.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3764,10 +3764,9 @@ static int tegra_sor_probe(struct platform_device *pdev)
37643764
return err;
37653765

37663766
err = tegra_output_probe(&sor->output);
3767-
if (err < 0) {
3768-
dev_err(&pdev->dev, "failed to probe output: %d\n", err);
3769-
return err;
3770-
}
3767+
if (err < 0)
3768+
return dev_err_probe(&pdev->dev, err,
3769+
"failed to probe output\n");
37713770

37723771
if (sor->ops && sor->ops->probe) {
37733772
err = sor->ops->probe(sor);

0 commit comments

Comments
 (0)