Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -173,6 +173,7 @@ static int tfp410_probe_of(struct platform_device *pdev)
	if (gpio_is_valid(gpio) || gpio == -ENOENT) {
		ddata->pd_gpio = gpio;
	} else {
		if (gpio != -EPROBE_DEFER)
			dev_err(&pdev->dev, "failed to parse PD gpio\n");
		return gpio;
	}