From patchwork Wed May 25 00:41:18 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 9134527 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 66FB160221 for ; Wed, 25 May 2016 00:41:31 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5A06D281E2 for ; Wed, 25 May 2016 00:41:31 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4EBEE2822B; Wed, 25 May 2016 00:41:31 +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 C7522281E2 for ; Wed, 25 May 2016 00:41:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932501AbcEYAla (ORCPT ); Tue, 24 May 2016 20:41:30 -0400 Received: from relmlor4.renesas.com ([210.160.252.174]:38676 "EHLO relmlie3.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932497AbcEYAl3 (ORCPT ); Tue, 24 May 2016 20:41:29 -0400 Received: from unknown (HELO relmlir4.idc.renesas.com) ([10.200.68.154]) by relmlie3.idc.renesas.com with ESMTP; 25 May 2016 09:41:26 +0900 Received: from relmlac2.idc.renesas.com (relmlac2.idc.renesas.com [10.200.69.22]) by relmlir4.idc.renesas.com (Postfix) with ESMTP id EA17C448DA; Wed, 25 May 2016 09:41:25 +0900 (JST) Received: by relmlac2.idc.renesas.com (Postfix, from userid 0) id D6E902806E; Wed, 25 May 2016 09:41:25 +0900 (JST) Received: from relmlac2.idc.renesas.com (localhost [127.0.0.1]) by relmlac2.idc.renesas.com (Postfix) with ESMTP id D2C812806D; Wed, 25 May 2016 09:41:25 +0900 (JST) Received: from relmlii2.idc.renesas.com [10.200.68.66] by relmlac2.idc.renesas.com with ESMTP id KAB04740; Wed, 25 May 2016 09:41:25 +0900 X-IronPort-AV: E=Sophos;i="5.22,559,1449500400"; d="scan'";a="211995263" Received: from mail-hk2apc01lp0213.outbound.protection.outlook.com (HELO APC01-HK2-obe.outbound.protection.outlook.com) ([65.55.88.213]) by relmlii2.idc.renesas.com with ESMTP/TLS/AES256-SHA; 25 May 2016 09:41:24 +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=OZi9380E19td+ldJ935jgq1t7dByDnO0IwkbRE7k/ro=; b=KFsZD3/o69CrJ/tK1zKa/7RUR8fkeKWwL0zUM3m9EKa4yzUlLt3sI2iXBKV7AgSPh3L2YkrZvVwMhFlSrgZK/cqoN9e4mlyBGer1GRi4MmUipiXc6QYW0k7KinW+VzST6If8n+BT1cZEyRxM7wpa2gkifc2XGPYf+70qU/ty050= 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 KL1PR06MB1703.apcprd06.prod.outlook.com (10.167.63.17) with Microsoft SMTP Server (TLS) id 15.1.497.12; Wed, 25 May 2016 00:41:18 +0000 Message-ID: <87oa7vkma4.wl%kuninori.morimoto.gx@renesas.com> From: Kuninori Morimoto Subject: [PATCH 2/2 v2] drm: rcar-du: error message is not needed for EPROBE_DEFER User-Agent: Wanderlust/2.15.9 Emacs/24.3 Mule/6.0 To: Laurent Pinchart , David Airlie CC: , , , , , , , , , , , , , , , , In-Reply-To: <87r3crkme9.wl%kuninori.morimoto.gx@renesas.com> References: <87r3crkme9.wl%kuninori.morimoto.gx@renesas.com> MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Date: Wed, 25 May 2016 00:41:18 +0000 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: OS2PR01CA0078.jpnprd01.prod.outlook.com (10.165.51.166) To KL1PR06MB1703.apcprd06.prod.outlook.com (10.167.63.17) X-MS-Office365-Filtering-Correlation-Id: 1cf82433-bfd2-4885-ae92-08d384354ab7 X-Microsoft-Exchange-Diagnostics: 1; KL1PR06MB1703; 2:6nnwCUpTXKbunkHdPK2qkVBTiAajxILX92rMsFJLMmX2wNP1MTJNGQmEQDgjrYEJVufZBNBmzRt2xIRaiXSR19KmIl51aavA8/6QdPXdKlRRMxxmNZVVDLCyVZdWe/Zcvg2g5amd94yVyAXZ3aFc1HshodKvrVtCzjABpphgcd759ev9UzhgVtKeDGZy39za; 3:4XuwE8mfIPU6zGnJaG3kMWoweOTJquPpg2QEAiU23AuDQLiOV+d+5IbY6PJfs3naffmxIoiy1ml/u85+1NDQw+d5Dbr9SbV+fXN0ZjX/1LSFstD9DgWZ7MUunDiO85k6; 25:Vu5EdNC46jWfecE4+piQaXjm1ReY00KM64sud4Erw3w00NkQmz8qa3cMr5uiiBaYEOumimgp5mLpJhlUMvTQm4CGeXCvE7bijAcNvxtqOkbAJiJewj4Ch1pemd3p7wTAFy2FYAk1Q2Z6i382siFmfnaZfR4ZwX153kPTZOpmMbADlp9JZZtJ8Nxdsim9T/xlrsAMEaUUhCc5fbL4jmASQBVPmRozNz/TKfYeRCbUMpV2VCsgS0ziLbwTYHm3mrhinKmZDTHkPRiZiW8d2FL3+VlreH3ETqJBDWOAL0j9VklT8G8RoRiReIY3DUjTrUMUrFaQ1tsu68S2Ni4t5+QdF1kXRw6LO3NlSmf/K/IyLHnmo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Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(10201501046)(3002001)(6055026); SRVR:KL1PR06MB1703; BCL:0; PCL:0; RULEID:; SRVR:KL1PR06MB1703; X-Forefront-PRVS: 09538D3531 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(47776003)(66066001)(36756003)(189998001)(53416004)(15650500001)(4001350100001)(86362001)(19580395003)(83506001)(50986999)(76176999)(81166006)(8676002)(19580405001)(54356999)(107886002)(5001770100001)(92566002)(42186005)(77096005)(23726003)(3846002)(2950100001)(4001430100002)(6116002)(2906002)(33646002)(5008740100001)(4326007)(50466002)(229853001)(5004730100002)(586003)(46406003)(16060500001); DIR:OUT; SFP:1102; SCL:1; SRVR:KL1PR06MB1703; H:morimoto-PC.renesas.com; FPR:; SPF:None; MLV:sfv; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; KL1PR06MB1703; 23:Xpwx05hvx9NMqqhGIjLaFES/PlM+B+HzIU8ZseKb1?= =?us-ascii?Q?84mgWMEqcpAWeg6KLILLjUYp7sGBGsFExx2IXP2ZjHxlKpN9enYQzIJ3od3V?= =?us-ascii?Q?Pj30V63SU5/Q4L9UXbIgVjXJD8GQjKy6axe5dZHyxB4JuLs1PyiHndp9IKYt?= =?us-ascii?Q?ua/NfwIDI9GsSuN+Y+7FGYXbQa0CFCso8rl/MyQGMlXL53FTTw/jXRSYMWoB?= =?us-ascii?Q?1fYD5uEpWLXQVZW/i81EVWGHNurjICF+MtQtkzlYupjNkF3doagJ5Tfm+AG1?= =?us-ascii?Q?hh2H8rxiHDJjwIBjvuNCx/VcEIe5WOouaXbNf9d5QJAOJceS3wZ4ITYInQoc?= =?us-ascii?Q?TkAjA/3kEfAFMPMKm/yH0svYsvP9VjMoraiNpJCDxCxuUbZzVR9nR5n/oTlm?= =?us-ascii?Q?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NK4ehnZJuvJ756iLL+kiPHJEfaQfSwsUN282iHUbDLpEc=; 7:/4rX4QrnDSsdWGinomYGDHnIveRiTWf9WQ420QumzE84bHFc5rj2cIHWlkjOF3X0ayj62m+bnCxdIVa31d3jXzv9g4MiVbE3BTDz4tvkqFHzT6x0XE7C7fVYXOxkYpBmLLMEDYkYp+8ndyvChIVlBZ4F7+XXjGuXPn5bMcrC+MnwoccqCF0yBZOxKiviD0+r; 20:DebP+Oox7/UOD1xj9MD6joKF7dM+BR6TIoJjqsGPm8GEUWL6jE6C3HmpESHN6Jv7xwN+5vSMqm4KPQw4LvWNF8hKPS2j/e1Mm63oU3sbeELmhZMTmK58QJci2PoVxyKZAJQhGh1yWBAAD+8J3oB3wQQH55wbhzpLoMIHUJ6bFi4= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 25 May 2016 00:41:18.2461 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: KL1PR06MB1703 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. Print it only error cases Signed-off-by: Kuninori Morimoto --- v1 -> v2 - only for rcar_du_modeset_init() drivers/gpu/drm/rcar-du/rcar_du_drv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/gpu/drm/rcar-du/rcar_du_drv.c b/drivers/gpu/drm/rcar-du/rcar_du_drv.c index 786f5d6..cf2698e 100644 --- a/drivers/gpu/drm/rcar-du/rcar_du_drv.c +++ b/drivers/gpu/drm/rcar-du/rcar_du_drv.c @@ -359,7 +359,8 @@ static int rcar_du_probe(struct platform_device *pdev) /* 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; }