From patchwork Mon Jun 27 12:09:18 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Shimoda X-Patchwork-Id: 9200447 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 9222260752 for ; Mon, 27 Jun 2016 12:09:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8050528564 for ; Mon, 27 Jun 2016 12:09:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 735242857C; Mon, 27 Jun 2016 12:09:51 +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 424EC28564 for ; Mon, 27 Jun 2016 12:09:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751882AbcF0MJt (ORCPT ); Mon, 27 Jun 2016 08:09:49 -0400 Received: from relmlor3.renesas.com ([210.160.252.173]:27088 "EHLO relmlie2.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751860AbcF0MJs (ORCPT ); Mon, 27 Jun 2016 08:09:48 -0400 Received: from unknown (HELO relmlir3.idc.renesas.com) ([10.200.68.153]) by relmlie2.idc.renesas.com with ESMTP; 27 Jun 2016 21:09:46 +0900 Received: from relmlac4.idc.renesas.com (relmlac4.idc.renesas.com [10.200.69.24]) by relmlir3.idc.renesas.com (Postfix) with ESMTP id 594794A3D3; Mon, 27 Jun 2016 21:09:46 +0900 (JST) Received: by relmlac4.idc.renesas.com (Postfix, from userid 0) id 57E71480A3; Mon, 27 Jun 2016 21:09:46 +0900 (JST) Received: from relmlac4.idc.renesas.com (localhost [127.0.0.1]) by relmlac4.idc.renesas.com (Postfix) with ESMTP id 4EEBA48014; Mon, 27 Jun 2016 21:09:46 +0900 (JST) Received: from relmlii1.idc.renesas.com [10.200.68.65] by relmlac4.idc.renesas.com with ESMTP id XAA21155; Mon, 27 Jun 2016 21:09:46 +0900 X-IronPort-AV: E=Sophos;i="5.22,559,1449500400"; d="scan'";a="213848379" Received: from mail-hk2apc01lp0210.outbound.protection.outlook.com (HELO APC01-HK2-obe.outbound.protection.outlook.com) ([65.55.88.210]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-SHA; 27 Jun 2016 21:09:44 +0900 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=renesasgroup.onmicrosoft.com; s=selector1-renesas-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=6OU2opU1/VWzUSRyxe95uC9oLqgfmPXBCXz2hy4GlOo=; b=cPxw+Vwu5vjULW7ZpiKCneWihFw8B4CBU6GuSzbNkMdsLexmO6ZhmA51mv+Ohz4jbyEyGWpUUFT1lDSNoZTK0tspiiKFNpLgdtdXxjyLLTLFlyfGE16uRqnHgbGTZrnpws/Sstp9GnOD7Wh8McZAdZDt5R4JmmAou8qxi5gEINs= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=<>; Received: from localhost (211.11.155.144) by SG2PR06MB0917.apcprd06.prod.outlook.com (10.162.200.158) with Microsoft SMTP Server (TLS) id 15.1.523.12; Mon, 27 Jun 2016 12:09:39 +0000 From: Yoshihiro Shimoda To: , , CC: , , , , Yoshihiro Shimoda Subject: [PATCH 2/3] usb: renesas_usbhs: show error code when probe failed Date: Mon, 27 Jun 2016 21:09:18 +0900 Message-ID: <1467029359-6812-3-git-send-email-yoshihiro.shimoda.uh@renesas.com> X-Mailer: git-send-email 1.9.4.msysgit.1 In-Reply-To: <1467029359-6812-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> References: <1467029359-6812-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> MIME-Version: 1.0 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: TY1PR06CA0025.apcprd06.prod.outlook.com (10.164.91.35) To SG2PR06MB0917.apcprd06.prod.outlook.com (10.162.200.158) X-MS-Office365-Filtering-Correlation-Id: 7c74d6a8-47f6-4948-b6bc-08d39e83ea76 X-Microsoft-Exchange-Diagnostics: 1; SG2PR06MB0917; 2:KgSgR/8DsdhCGb/mKHp94nduvNHykm8M7EbbYL87OynxCbxRxegEZhjNvvxNuKsKugSuL6uMAqU3AS45d+IJFbNui5QziqW/Obi0usl+WjUsd6GjVQ4+IwQtpO6ZMLRmpfbaGZ6Mxaq66E8HtGxhj3IkcJQuTNNy+s/gRSo5vEx1PVx/kUsuw7LPGPQIJsly; 3:1cq+WeQIfhfpwfWWI+ajNjaCQjDUbN32I/kRRaGUL1ywySxGVEyNcJQ9PvPqI5vFRsPH6ieJJfnN+9NxUGG1GTqK+UXHHEaGBr1lb+KV+9tvW+KS79VJtlF+oceGjIGO; 25:5ALEjY/1Udl7Kj0EmUNs5+xCMGP6Uev8gHVACS4OEAQYXTMuQkIT044dtzEVLVriRFdrmloy/r9X0PUrnUZcXLOmHtNgfnV3eDMdMWnW6ZRNUFzi06bTOsUM0/tT13aUrKOfsc9cZXD6Y+igqUn5qj07hkKahxLEfhxC5I5DMgT02UFO4B16LXjjM21LuBzfgLwY0IBGT5zZdd4gmTuXlyxAadEAMlOEOBBza48yAgKif0bhBLgnvLW9hbNrM8Te29XQfxNJ7ZJbHEJLyUgTKeoyfBT3LFz1PNtIwB9W3LjKiIHoc6+792zTsIA98WTcUz9lAJXtWfbpzlrvRoNNOgqqyFM/cIexvf+SAnJZUFnoLZY4F/WAbPPHFNzF5l+ysQlJ3Fadi57dQiaqXAiL5dYyULGgcveiFYEkVlv6HrU= X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:SG2PR06MB0917; X-Microsoft-Exchange-Diagnostics: 1; SG2PR06MB0917; 20:L6SgbQg4ut2KJhe/7W1qH3MNqSiG/3ICsxIT8eob/hXcIu0RmzYFeyEGv0gUMcNF2Mo9Eilh0WibqLF6w7Mt2kMSrPF40/GkLcs4SNeBJpZac6Kzdrdg96S/Igjya/wQNkNv6ZKcK8DAJuV6pUdPy5egjpS+4vpiUFtANal+Zmh1G5pyA3amsIyTusM0TkH2/LhpWICcqYk0Xtwl+PSHUWBC8xOBzNEIW1+aPcLRKu1P7sVam1pOFfx9W/l6gG9G3CI/sQSEGdRysddbONMKFMVfqIU/GwyfLkDWQV52BWMoU5m4O0wD57ilzYY4m8aokssT5OcboM1fZXi4QjflWwe8VJy8RL/bAZxJC22uqy4FKpOXcGw27y20nKi7piKa0lwUlaurpypFh8fgBf0pXAVK6R/ggldIYx4vg2fAd3IENSM7MchXHEgXxmw7yg2Su0dHaluVgDAz5yGz37BRboyah9/r4vuDNMLQeAsDayXBRSbH9YK/soVyKzcbSxk0; 4:ok6410W7g5KLORi3MsAw+m/PU6Z28gYBV+bnrm30icnqpYtrXWjGTsZ2LgHbWzvSHYY1rRUyxZrVQLegtNO02ZWjb2PKCaMbQHpRfj3TumY/l1ZoTeu1kP5CZN12VEo4BbVP2IiTgxqkxn4dhlQvodcsWr50rsN0wYThk05pbXQ7gdQ3s78bXEb7WMOIJ0hV+WGuAyaO2fSxQaGe1aMalDnubrESBGMgBRvX+1OFLwrwyxy26ljzZJSPr58cYQPfu3VxZx6bvUUqBh3vB3/j4EH5OxxIUKz+24NcD5q3XFGYltYAjfNu7m9MGY1zC4jkfUKWjieYxk4Jfs4c4P1p9BiTpps2zBYsj7dyGvNloPN87/MtnxMIMswCJQHRJD7qvLPpelxKpLvV+Jlnh60IEQ== 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:SG2PR06MB0917; BCL:0; PCL:0; RULEID:; SRVR:SG2PR06MB0917; X-Forefront-PRVS: 09860C2161 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(6069001)(7916002)(189002)(199003)(77096005)(76506005)(7736002)(78352004)(81156014)(81166006)(101416001)(2950100001)(7846002)(97736004)(5003940100001)(5001770100001)(8676002)(66066001)(2906002)(107886002)(76176999)(50986999)(4001430100002)(305945005)(68736007)(42186005)(586003)(4326007)(92566002)(50226002)(106356001)(105586002)(19580405001)(229853001)(19580395003)(48376002)(36756003)(50466002)(189998001)(33646002)(3846002)(6116002)(47776003); DIR:OUT; SFP:1102; SCL:1; SRVR:SG2PR06MB0917; H:localhost; FPR:; SPF:None; PTR:InfoNoRecords; MX:0; A:0; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SG2PR06MB0917; 23:pSYA0wHVMiGyunCEUuCuaYQ7n7q+KuMMlXUOp++WL?= =?us-ascii?Q?ygvaEayjgA9YmGQeXMGpRr64i+7AvnKci4wf2xTtCvy9M2+k2Flpz4DwxM5J?= =?us-ascii?Q?IyiiDwSTgXtsAOO1a2O5du6lIXxY5js4wtYWHGoTWU7WACDo/DSBfj9d4PIX?= =?us-ascii?Q?DqAnrsKjE8bODzLROGqjE3di5peuv9Oqd5nv+AHlWPX+uZYdmoIxftKYE3uP?= =?us-ascii?Q?olSGCUA8HP0q17IhykpLh9HuA/z6SlWjsbxyjwbHSoSSGaElY98zqlbvPcjp?= =?us-ascii?Q?8j9a804c9eyyTHzQs4gZyzpAHppRo4SSkRpcm9GUF4YO0eucru40FWBGZB3r?= =?us-ascii?Q?eUhMWMSniIzMBND3reQrSp0EAuVvB2WxSZ92+0lXi2V9Wsg3qXN7GKOWuPDJ?= =?us-ascii?Q?0mO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KwPr4c= X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Jun 2016 12:09:39.7742 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2PR06MB0917 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 To know why the driver probing failed, this patch shows error code. Signed-off-by: Yoshihiro Shimoda --- drivers/usb/renesas_usbhs/common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/renesas_usbhs/common.c b/drivers/usb/renesas_usbhs/common.c index baeb7d2..8fbbc2d 100644 --- a/drivers/usb/renesas_usbhs/common.c +++ b/drivers/usb/renesas_usbhs/common.c @@ -697,7 +697,7 @@ probe_end_fifo_exit: probe_end_pipe_exit: usbhs_pipe_remove(priv); - dev_info(&pdev->dev, "probe failed\n"); + dev_info(&pdev->dev, "probe failed (%d)\n", ret); return ret; }