Commit 7a228a0d authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Tomi Valkeinen

drm: omapdrm: dpi: Don't treat GPIO probe deferral as an error

There's no need to print an error message on probe deferral, that's a
normal situation. Probe deferral debugging can be performed by enabling
the related debug messages in the drivers core.
Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: default avatarSebastian Reichel <sebastian.reichel@collabora.co.uk>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
parent 9231abd3
...@@ -173,6 +173,7 @@ static int tfp410_probe_of(struct platform_device *pdev) ...@@ -173,6 +173,7 @@ static int tfp410_probe_of(struct platform_device *pdev)
if (gpio_is_valid(gpio) || gpio == -ENOENT) { if (gpio_is_valid(gpio) || gpio == -ENOENT) {
ddata->pd_gpio = gpio; ddata->pd_gpio = gpio;
} else { } else {
if (gpio != -EPROBE_DEFER)
dev_err(&pdev->dev, "failed to parse PD gpio\n"); dev_err(&pdev->dev, "failed to parse PD gpio\n");
return gpio; return gpio;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment