[PATCH 3/4] drm/panfrost: Don't scream about deferred probe
Robin Murphy
robin.murphy at arm.com
Fri May 3 15:31:44 UTC 2019
Probe deferral is far from "fatal".
Signed-off-by: Robin Murphy <robin.murphy at arm.com>
---
drivers/gpu/drm/panfrost/panfrost_drv.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/panfrost/panfrost_drv.c b/drivers/gpu/drm/panfrost/panfrost_drv.c
index a881e2346b55..4a3fd942ddc6 100644
--- a/drivers/gpu/drm/panfrost/panfrost_drv.c
+++ b/drivers/gpu/drm/panfrost/panfrost_drv.c
@@ -382,13 +382,15 @@ static int panfrost_probe(struct platform_device *pdev)
err = panfrost_device_init(pfdev);
if (err) {
- dev_err(&pdev->dev, "Fatal error during GPU init\n");
+ if (err != -EPROBE_DEFER)
+ dev_err(&pdev->dev, "Fatal error during GPU init\n");
goto err_out0;
}
err = panfrost_devfreq_init(pfdev);
if (err) {
- dev_err(&pdev->dev, "Fatal error during devfreq init\n");
+ if (err != -EPROBE_DEFER)
+ dev_err(&pdev->dev, "Fatal error during devfreq init\n");
goto err_out1;
}
--
2.21.0.dirty
More information about the dri-devel
mailing list