[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <87posc9gg6.wl%kuninori.morimoto.gx@renesas.com>
Date: Tue, 24 May 2016 14:24:09 +0900
From: Kuninori Morimoto <kuninori.morimoto.gx@...esas.com>
To: Laurent Pinchart <laurent.pinchart@...asonboard.com>,
David Airlie <airlied@...ux.ie>
CC: <dri-devel@...ts.freedesktop.org>,
<linux-renesas-soc@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <koji.matsuoka.xm@...esas.com>,
<yoshihiro.shimoda.uh@...esas.com>, <naoya.shiiba.nx@...esas.com>,
<ryo.kodama.vz@...esas.com>, <hiroyuki.yokoyama.vx@...esas.com>,
<yoshifumi.hosoya.wj@...esas.com>, <takeshi.kihara.df@...esas.com>,
<toshiaki.komatsu.ud@...esas.com>,
<harunobu.kurokawa.dn@...esas.com>,
<ryusuke.sakato.bx@...esas.com>, <tomoharu.fukawa.eb@...esas.com>,
<kouei.abe.cp@...esas.com>, <khiem.nguyen.xt@....renesas.com>,
<hien.dang.eb@....renesas.com>
Subject: [PATCH] drm: rcar-du: EPROBE_DEFER case doesn't need error message
From: Kuninori Morimoto <kuninori.morimoto.gx@...esas.com>
EPROBE_DEFER is not error, thus, error message on kernel log on this
case is confusable for user. Prints it only error cases.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@...esas.com>
---
drivers/gpu/drm/rcar-du/rcar_du_drv.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/rcar-du/rcar_du_drv.c b/drivers/gpu/drm/rcar-du/rcar_du_drv.c
index 26fd3ba..1db080c 100644
--- a/drivers/gpu/drm/rcar-du/rcar_du_drv.c
+++ b/drivers/gpu/drm/rcar-du/rcar_du_drv.c
@@ -354,14 +354,16 @@ static int rcar_du_probe(struct platform_device *pdev)
*/
ret = drm_vblank_init(ddev, (1 << rcdu->info->num_crtcs) - 1);
if (ret < 0) {
- dev_err(&pdev->dev, "failed to initialize vblank\n");
+ if (ret != -EPROBE_DEFER)
+ dev_err(&pdev->dev, "failed to initialize vblank\n");
goto error;
}
/* DRM/KMS objects */
ret = rcar_du_modeset_init(rcdu);
if (ret < 0) {
- dev_err(&pdev->dev, "failed to initialize DRM/KMS (%d)\n", ret);
+ if (ret != -EPROBE_DEFER)
+ dev_err(&pdev->dev, "failed to initialize DRM/KMS (%d)\n", ret);
goto error;
}
--
1.9.1
Powered by blists - more mailing lists