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

Commit 6e0c6e18 authored by Laurent Pinchart's avatar Laurent Pinchart
Browse files

drm: rcar-du: Print the error value when DRM/KMS init fails



This helps debugging probe failures.

Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
parent 284b2884
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -190,7 +190,7 @@ static int rcar_du_load(struct drm_device *dev, unsigned long flags)
	/* DRM/KMS objects */
	ret = rcar_du_modeset_init(rcdu);
	if (ret < 0) {
		dev_err(&pdev->dev, "failed to initialize DRM/KMS\n");
		dev_err(&pdev->dev, "failed to initialize DRM/KMS (%d)\n", ret);
		goto done;
	}