From patchwork Tue Oct 27 01:18:27 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Shimoda X-Patchwork-Id: 7492931 X-Patchwork-Delegate: geert@linux-m68k.org Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 3CFEA9F36A for ; Tue, 27 Oct 2015 01:19:07 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6498D208EB for ; Tue, 27 Oct 2015 01:19:06 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 6F8DC208E7 for ; Tue, 27 Oct 2015 01:19:05 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752287AbbJ0BTF (ORCPT ); Mon, 26 Oct 2015 21:19:05 -0400 Received: from relmlor3.renesas.com ([210.160.252.173]:50440 "EHLO relmlie2.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752101AbbJ0BTC (ORCPT ); Mon, 26 Oct 2015 21:19:02 -0400 Received: from unknown (HELO relmlir2.idc.renesas.com) ([10.200.68.152]) by relmlie2.idc.renesas.com with ESMTP; 27 Oct 2015 10:19:01 +0900 Received: from relmlac1.idc.renesas.com (relmlac1.idc.renesas.com [10.200.69.21]) by relmlir2.idc.renesas.com (Postfix) with ESMTP id 82D8A451C1; Tue, 27 Oct 2015 10:19:01 +0900 (JST) Received: by relmlac1.idc.renesas.com (Postfix, from userid 0) id 708EB8002E; Tue, 27 Oct 2015 10:19:01 +0900 (JST) Received: from relmlac1.idc.renesas.com (localhost [127.0.0.1]) by relmlac1.idc.renesas.com (Postfix) with ESMTP id 6B45D8002D; Tue, 27 Oct 2015 10:19:01 +0900 (JST) Received: from relmlii2.idc.renesas.com [10.200.68.66] by relmlac1.idc.renesas.com with ESMTP id LAP01464; Tue, 27 Oct 2015 10:19:01 +0900 X-IronPort-AV: E=Sophos;i="5.20,202,1444662000"; d="scan'208";a="198488526" Received: from mail-sg2apc01lp0243.outbound.protection.outlook.com (HELO APC01-SG2-obe.outbound.protection.outlook.com) ([65.55.88.243]) by relmlii2.idc.renesas.com with ESMTP/TLS/AES256-SHA; 27 Oct 2015 10:19:00 +0900 Received: from SG2PR06MB0919.apcprd06.prod.outlook.com (10.162.204.152) by SG2PR06MB1087.apcprd06.prod.outlook.com (10.169.58.21) with Microsoft SMTP Server (TLS) id 15.1.306.13; Tue, 27 Oct 2015 01:18:59 +0000 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=<>; Received: from localhost (211.11.155.144) by SG2PR06MB0919.apcprd06.prod.outlook.com (10.162.204.152) with Microsoft SMTP Server (TLS) id 15.1.306.13; Tue, 27 Oct 2015 01:18:58 +0000 From: Yoshihiro Shimoda To: , , , , , , CC: , , Yoshihiro Shimoda Subject: [PATCH v4 4/7] usb: host: xhci-plat: add firmware_name in xhci_plat_priv Date: Tue, 27 Oct 2015 10:18:27 +0900 Message-ID: <1445908710-5812-5-git-send-email-yoshihiro.shimoda.uh@renesas.com> X-Mailer: git-send-email 1.9.4.msysgit.1 In-Reply-To: <1445908710-5812-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> References: <1445908710-5812-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> MIME-Version: 1.0 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: OS1PR01CA0018.jpnprd01.prod.outlook.com (25.161.225.156) To SG2PR06MB0919.apcprd06.prod.outlook.com (25.162.204.152) X-Microsoft-Exchange-Diagnostics: 1; SG2PR06MB0919; 2:qjZ8lccnossFPtkii2Ee13wIr3JpRvdyZZMwY9v4+4//kCrxfVbwNsVlHMQx3VR4v1o1t1joGdvVXWqGmsH2wq7vslaS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YRO0KjD8+g4UWUA/Y2UjI2s3s+8PKfsgoqQiZYD1PNscM3GciQ; 4:heOXCQzZqeFDqqITweU72AECWALGmOY5vkAwrtRKja5Bf5lwYGnNCGnFOCRmDiODm+HvgadmZ7Bpq3mPGj2SQv2jTFCmjIJskG9g04rPbpWyNO0bTICAXOr0dux1tdLjXD9QrPuu9dDEgJlLcAbNyM3+fcLyPP/QFspMRX2QxF3tluVeRtf4T7eHcL8CjH5YlUmVefbyO2aMJl/atk1DCItHZK3w/Xwf3sU4lICEWzKSWQQyitTmzEUNIGQVOlaQAEan3CHF8CNPzkV44yb21Vf5Xj1ic88R/2JZACgcmD1PqPnTbzG/gMEJwGnKVz397Ci1GhBuacCVHmf1pKz6nu++gISfG2AB6OnNGdc7IC3cuegbj9tI0bkULBiJaQBH X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(85106069007906); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(520078)(3002001)(102215026); SRVR:SG2PR06MB0919; BCL:0; PCL:0; RULEID:; SRVR:SG2PR06MB0919; X-Forefront-PRVS: 0742443479 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(6009001)(6069001)(199003)(189002)(229853001)(105586002)(5008740100001)(76506005)(50466002)(36756003)(42186005)(5001770100001)(97736004)(19580395003)(5007970100001)(2950100001)(19580405001)(5004730100002)(92566002)(48376002)(81156007)(77096005)(4001430100002)(5003940100001)(101416001)(122386002)(87976001)(5001960100002)(50986999)(40100003)(107886002)(106356001)(78352002)(189998001)(47776003)(66066001)(50226001)(42382002)(76176999)(33646002); DIR:OUT; SFP:1102; SCL:1; SRVR:SG2PR06MB0919; H:localhost; FPR:; SPF:None; PTR:InfoNoRecords; A:0; MX:0; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SG2PR06MB0919; 23:ikuaM24gYRFerlAOEOIEucrosQZIWF1QPB2mEoxK2?= =?us-asc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fuC5Fc+lPLTm44jEsk9x1lin2lcqteqRy?= =?us-ascii?Q?rI32suThS59lF9nP8t2h81T5gLqlcl3PJzUuxEMFRu7sVqXV4IqqZrphBOOs?= =?us-ascii?Q?pz3kjfmd1G2pmJ9dij6li0NUAid68r6pCCzFUtNjnQ2swAN1+35TV0FGQjtV?= =?us-ascii?Q?8Lf2T68wgZD+jKm0dXQ5ebgxKeCIoxX4E1zVHZaPDiI7DQqFw=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1; SG2PR06MB0919; 5:n98LT4As2DVXy3RhPRpycbIEUrV4vK8xlpfcSgiQl2Fjw9uMy0D1jnCn0k/HbqAAtUzV5FHy0c8eHFqwZk075p8KR9D4cdVkgpanMqzeRoBFdQfpeacivwaLWRHk+ttmT3uRedLj/Onx1YpKeqSfoQ==; 24:H0pfX8G+PxVTTRe9pUXWt8sWjN6gt6Rm+F3KETFJxLUNd/6iAXX6wLWC+618D6rY/4h9MoE7XeCbkazw/Hd9RWRgK4+6lmROOOfrUMh1Xro=; 20:7h3IF6co67AzPeE1LdgbnEtLs/pC6IWYOa8lbC7Tw/ptjy55R2qOeandkStMxFwb/zF6IHD6ibO5im5Rj/s2ZWAHwWgAE0lR0i1HYqBHNiEawIdNEKLHbYqaaZJuLzSaQ+nmo34fAHRtP8cGPaocGoh22HoDD5vEzM1158EG/9s= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Oct 2015 01:18:58.1652 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2PR06MB0919 X-Microsoft-Exchange-Diagnostics: 1; SG2PR06MB1087; 2:DvIugMOu8Xw02UTsftDgtWDCIJHHr72u/Mm7GoqHkGr2xJlzqJct61ekPtLJlYaU6wt/3ay13ntCf7wbl9p5lcDalCFmQfHDywyzfTfWLrI9h/fa+IHM5nZ6VTTq+AUJUkfKYhLaZvC0OG3NqRWaxJn4XknjYeY59k9XyhuvsFs=; 23:2gbi/xDQScdp12w+wrC//MkvouULVT+mPC3PkEoX1yhH6f91iMc/MeQHINOmc6RjWaB0LzBNB5d4zIhbMMa6SzdzR/iikIUihaLyhsoU0inPQbgMpvnwAYPHnRtCsZCSC5y+ug2X9cPM+/aiublBqW41P55cu7itEcTVPwCGokSNmzOUutI6H5VLQYeEm59d X-OriginatorOrg: renesas.com Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-4.9 required=5.0 tests=AXB_X_OUTLOOKPROT_ENVSDR, BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This patch adds a member "firmware_name" in struct xhci_plat_priv to simplify the code to match specific firmware name. Signed-off-by: Yoshihiro Shimoda --- drivers/usb/host/xhci-plat.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/host/xhci-plat.h b/drivers/usb/host/xhci-plat.h index 4479869..20b32a7 100644 --- a/drivers/usb/host/xhci-plat.h +++ b/drivers/usb/host/xhci-plat.h @@ -20,6 +20,7 @@ enum xhci_plat_type { struct xhci_plat_priv { enum xhci_plat_type type; + const char *firmware_name; }; #define hcd_to_xhci_priv(h) ((struct xhci_plat_priv *)hcd_to_xhci(h)->priv)