From patchwork Tue May 24 05:24:09 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 9132799 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 2F3A9607D3 for ; Tue, 24 May 2016 05:30:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 27FDF2823C for ; Tue, 24 May 2016 05:30:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1C5D92828C; Tue, 24 May 2016 05:30:44 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 756D52823C for ; Tue, 24 May 2016 05:30:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753599AbcEXFan (ORCPT ); Tue, 24 May 2016 01:30:43 -0400 Received: from relmlor2.renesas.com ([210.160.252.172]:23928 "EHLO relmlie1.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751543AbcEXFal (ORCPT ); Tue, 24 May 2016 01:30:41 -0400 Received: from unknown (HELO relmlir1.idc.renesas.com) ([10.200.68.151]) by relmlie1.idc.renesas.com with ESMTP; 24 May 2016 14:30:38 +0900 Received: from relmlac2.idc.renesas.com (relmlac2.idc.renesas.com [10.200.69.22]) by relmlir1.idc.renesas.com (Postfix) with ESMTP id 4AFE74AAFF; Tue, 24 May 2016 14:30:38 +0900 (JST) Received: by relmlac2.idc.renesas.com (Postfix, from userid 0) id 3C7E32806E; Tue, 24 May 2016 14:30:38 +0900 (JST) Received: from relmlac2.idc.renesas.com (localhost [127.0.0.1]) by relmlac2.idc.renesas.com (Postfix) with ESMTP id 38A562806D; Tue, 24 May 2016 14:30:38 +0900 (JST) Received: from relmlii2.idc.renesas.com [10.200.68.66] by relmlac2.idc.renesas.com with ESMTP id QAP26461; Tue, 24 May 2016 14:30:38 +0900 X-IronPort-AV: E=Sophos;i="5.22,559,1449500400"; d="scan'";a="211925287" Received: from mail-sg2apc01lp0247.outbound.protection.outlook.com (HELO APC01-SG2-obe.outbound.protection.outlook.com) ([65.55.88.247]) by relmlii2.idc.renesas.com with ESMTP/TLS/AES256-SHA; 24 May 2016 14:30:37 +0900 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesasgroup.onmicrosoft.com; s=selector1-renesas-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=3bbQxi+LIrojO4bEK2gmCSYoOStvxKzbLmJ3FfzMZdE=; b=cZSeo6GyI2wMVny/as1bkC493tApHINHcHIjgS7PxGeHx+jvgkkhpoj1oQyg6sJWjuReX/tzyrQAR5cTb5oRViiGDwIOK80Vn3efTciYxqYoDgiZln502d6XEWnxMBkgIjRmPLpUtIo0VPYClUnUw9OKFUt6w6ulyDbzTiKJeXc= Authentication-Results: ideasonboard.com; dkim=none (message not signed) header.d=none;ideasonboard.com; dmarc=none action=none header.from=renesas.com; Received: from morimoto-PC.renesas.com (211.11.155.144) by HK2PR06MB1699.apcprd06.prod.outlook.com (10.167.73.13) with Microsoft SMTP Server (TLS) id 15.1.497.12; Tue, 24 May 2016 05:30:27 +0000 Date: Tue, 24 May 2016 14:24:09 +0900 Message-ID: <87posc9gg6.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH] drm: rcar-du: EPROBE_DEFER case doesn't need error message User-Agent: Wanderlust/2.15.9 Emacs/24.3 Mule/6.0 To: Laurent Pinchart , David Airlie CC: , , , , , , , , , , , , , , , , In-Reply-To: References: MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: TY1PR01CA0039.jpnprd01.prod.outlook.com (10.164.162.149) To HK2PR06MB1699.apcprd06.prod.outlook.com (10.167.73.13) X-MS-Office365-Filtering-Correlation-Id: 1e0dc6b7-8d1f-4858-2f1b-08d383948461 X-Microsoft-Exchange-Diagnostics: 1; HK2PR06MB1699; 2:/G4iHiIuaRIDOTEY0by3sHUmqZIA7bHP0zsXMV3bWuSuykL4++JdaC/hZL1I4AmEsnoUCMmcFEGmTJCPQ5EvuQCEZ/uMAqB36lLgPkXXmtvHrZs4pqcb6t/UyRnQLFFWjn3SoEbpP2tGmpOIELDEW7KFkrhmEXjFxmHXo/4QgbzCMfMw2KgP/iC16bPiZY2I; 3:mrV8TzhM5Svf8XzSqjDvWDJHqDpLWBQhHbf8vyYIgbeFOs8rbZE7nJ4gyk3ESwKlnyN25dZCFG0JjTAjATCnaQgnfR8z4OKmIQiXDEDOarG9lJVM/qtMh87qzO6XvczV X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:HK2PR06MB1699; X-Microsoft-Exchange-Diagnostics: 1; HK2PR06MB1699; 25:ht73kejIkjfbDkv9hFw6p9dCHQZV2njDH+wlA53U6Lk71gpbsVbYzcaeWPKgH89xexZ132Vg4o4lSy6su3l2c4nTRIQo/2ps7eYGCvfIEVC98E1u4GpBtDNT6B4161whZvfda3LL8PopmhlhmaZfCieXaqWM8YzJhr5phF9IyjYdgzeDUXvP36v8XLbKp0HGkjgjhax3GeXq18fC+yHfYTJOZt7A6ppJkDaBfHqf2Q3btmUWAlDxQmVXFudnSCzWVZyrR4wlR69Dwg0ERH7VfeY7WPhSRFERRL9ESqYTxmG5QJZ9bP121ekh/ZmUaAaCmpRSfaCe9D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LYQgQ5K9eihPg2JzvMqelqMQ1dk5+77pOnogzhy2ZpzSYMyqtIYc7uG+Mz0jTqDhFCFt/N4oTltCR96v4ISEYwMlJ8k4DHR4c/V1OHuY/eOLvanTJcmbjqmNblsV2NlmkTysgf0NaiYYn8f3nMl43fnUuQG6GbfgzU2tiYY+n/NzRuegGCk+82Wjjr2Ch/LvknuYZnN5D6nSy0d2DdDCauX6SyDespCpM3KrxHH28svLoJU+0v5506m2E6GNhSTv4h2l3LrU4FZqArUjAMdjdZ9mqkrQjVIuw== X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6055026); SRVR:HK2PR06MB1699; BCL:0; PCL:0; RULEID:; SRVR:HK2PR06MB1699; X-Forefront-PRVS: 09525C61DB X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(42186005)(107886002)(15650500001)(33646002)(4001350100001)(53416004)(50466002)(4326007)(2906002)(189998001)(5004730100002)(19580395003)(229853001)(23726003)(4001430100002)(586003)(19580405001)(6116002)(3846002)(66066001)(46406003)(83506001)(86362001)(2950100001)(5008740100001)(36756003)(47776003)(8676002)(92566002)(50986999)(81166006)(5001770100001)(54356999)(76176999)(77096005)(16060500001); DIR:OUT; SFP:1102; SCL:1; SRVR:HK2PR06MB1699; H:morimoto-PC.renesas.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; HK2PR06MB1699; 23:M1k/K8v9UwVErBbNMOnzikGOD1SD0ZFCieo0m4Dvp?= =?us-ascii?Q?N4XN1ZtP+Ti5XWNeEQCLktb0ZukFrXeVw5aO98qLzEUS9HpEda2ymUJUyDW6?= =?us-ascii?Q?YjD4eWA0r7jwN3llQRVzXqdDlg4LkUXrKc7aml+K5OlyQI4WvDw2Ts8RHjR1?= =?us-ascii?Q?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5aTV6uVTEBkh+/J2?= =?us-ascii?Q?asptQg=3D?= X-Microsoft-Exchange-Diagnostics: 1; HK2PR06MB1699; 5:1UHg/YVH3LdQvFkmWZ/6gUGm1rGk0fYvd91XXRKMB90oRMthHpGBjjvSjeaWx0dTKTTnhH8I0ht26ODjBNUoUw9e9sdkTeZnzKba4/1817QlscaCJ6KWmTFrAM8eVxI8wHqVFX2F2aNJYIi4Lgy9aw==; 24:i0/PFNpnJh/d+DFS4k3wvf368GogsAgX50LulIPp9a3zgDhg0hKFjKB2JsymIkFR6bxajmHNK/DH72DIIzBkc0E8oLLYikWM+3nMDQAimN0=; 7:K4t6bChu/UhFLyAuTTqQtn/X9yo9Lb5ylTkqyZGV/vXEuoBjob+sY3NX1V/Ohwckdel5jx3FfnqM8lonso94XNYhFTXUqFjYrETDEmyGL56J+NvBEfp3ZeO144LVwJYoFDqWGFL7kOGP+vAbXpB2mVEWVJamID3Ly50Pu8kLGM7QTkO55HAOXKDL8vTZFMVZ; 20:cGxcNHrxNCfBCTOiYzD/qwPBFqNGb3tqac6/H9mFaMMy9OlMM4U0taklGi8YrfzoiiGDa6nbS+M802IuELLnhICQrcSZ2t8qPYH2Z8tOvLV+PZGq4nz8yYwoyBWT48e3p9uIza5gQXMIv4BqNr0e8F/WKvzgpN3eSjl2gMxcRWA= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 24 May 2016 05:30:27.4825 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: HK2PR06MB1699 Sender: linux-renesas-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-renesas-soc@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Kuninori Morimoto 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 --- 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; }