From patchwork Wed Jun 1 02:40:05 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yoshihiro Shimoda X-Patchwork-Id: 9145945 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 16D1D60777 for ; Wed, 1 Jun 2016 02:40:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0BE11268AE for ; Wed, 1 Jun 2016 02:40:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 00D06269B2; Wed, 1 Jun 2016 02:40:47 +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 4E26826992 for ; Wed, 1 Jun 2016 02:40:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757206AbcFACka (ORCPT ); Tue, 31 May 2016 22:40:30 -0400 Received: from relmlor4.renesas.com ([210.160.252.174]:50974 "EHLO relmlie3.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1757160AbcFACk1 (ORCPT ); Tue, 31 May 2016 22:40:27 -0400 Received: from unknown (HELO relmlir1.idc.renesas.com) ([10.200.68.151]) by relmlie3.idc.renesas.com with ESMTP; 01 Jun 2016 11:40:24 +0900 Received: from relmlac2.idc.renesas.com (relmlac2.idc.renesas.com [10.200.69.22]) by relmlir1.idc.renesas.com (Postfix) with ESMTP id 4A7024D014; Wed, 1 Jun 2016 11:40:24 +0900 (JST) Received: by relmlac2.idc.renesas.com (Postfix, from userid 0) id 3727A2806E; Wed, 1 Jun 2016 11:40:24 +0900 (JST) Received: from relmlac2.idc.renesas.com (localhost [127.0.0.1]) by relmlac2.idc.renesas.com (Postfix) with ESMTP id 2F3F02806D; Wed, 1 Jun 2016 11:40:24 +0900 (JST) Received: from relmlii1.idc.renesas.com [10.200.68.65] by relmlac2.idc.renesas.com with ESMTP id MAC03159; Wed, 1 Jun 2016 11:40:24 +0900 X-IronPort-AV: E=Sophos;i="5.22,559,1449500400"; d="scan'";a="212040454" Received: from mail-sg2apc01lp0242.outbound.protection.outlook.com (HELO APC01-SG2-obe.outbound.protection.outlook.com) ([65.55.88.242]) by relmlii1.idc.renesas.com with ESMTP/TLS/AES256-SHA; 01 Jun 2016 11:40:23 +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=eocV/XprrtNcbqWMN8dOSi1oUC1PV/pUpNxBWYWUdoM=; b=d+J5ql5DNjKZk1pvTDL/94ZRepmLhvrKKLetuL5ePuPbpwOrkX2xim2Vz6SfkGaB9Hm6pl9k32TeALVwaT84No5bqGES+MNffffb0cVjW98U+36fDapbJYIi9DE578/jJD0d0SdzinA9esqRYf7XDtodxTBxwIHFJtKpN6OdfMI= Authentication-Results: intel.com; dkim=none (message not signed) header.d=none; intel.com; dmarc=none action=none header.from=renesas.com; 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.506.9; Wed, 1 Jun 2016 02:40:22 +0000 From: Yoshihiro Shimoda To: , CC: , , Yoshihiro Shimoda Subject: [PATCH 1/2] usb: host: xhci: plat: add ->quirks value for platform-specific Date: Wed, 1 Jun 2016 11:40:05 +0900 Message-ID: <1464748806-7932-2-git-send-email-yoshihiro.shimoda.uh@renesas.com> X-Mailer: git-send-email 1.9.4.msysgit.1 In-Reply-To: <1464748806-7932-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> References: <1464748806-7932-1-git-send-email-yoshihiro.shimoda.uh@renesas.com> MIME-Version: 1.0 X-Originating-IP: [211.11.155.144] X-ClientProxiedBy: OS1PR01CA0049.jpnprd01.prod.outlook.com (10.164.162.31) To SG2PR06MB0919.apcprd06.prod.outlook.com (10.162.204.152) X-MS-Office365-Filtering-Correlation-Id: 9fc4d91f-65dc-49d5-a779-08d389c61431 X-Microsoft-Exchange-Diagnostics: 1; SG2PR06MB0919; 2:5j7l2WfV24ckmBJ2qyTmk3mDeATOjDxqH//pl0/B2UAOkh3v9RmFlNqBUfias+IPyhjvJYgwXsX7UlahYOjlITtj0AmrcDdw3rBdrkORzrt5AF4PyfAO5bH/jBKvv6ZPaoSr1EB/PEvF2Q+NCeaSWIm+/y+6f7b9V4WvcbMU2ggUhiK+1UL7CJmeESIOu27T; 3:tJYQbkrxScCgv+G2fwwEb7g5TJwOzOxm/oJ7WS1N/V7zuo+au17Yub9TEOafDkN8EfO1X410COOgzk1hGRAbpbyNHMqHDOBPUzMr2Qo5FHj0QYavOsTQa30d1zEBqXBu X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:SG2PR06MB0919; X-Microsoft-Exchange-Diagnostics: 1; SG2PR06MB0919; 25:Hk4qr6QbPrk3+2QOBerawvR9hXJJ/ErcjMENFvurRe8H4AAg19bhzykM9VU/mgz6F3EifE8VeywVEmVvPJTDUf1TMbKci13pFUBS5fEKvzpnHFy2MQdXPZx/0T5gv8RMuTRFZSo/H4BRxCVnYMat2H3GB3XfBusIhC88WxKkNEJnz4KCkbzqUuY49BdXqrEF6f8AW4ky2Z5QJM3cARambwB7z+PtanQ4YJQR4SwafMWbx/4EA2TghdgHeX2VqTMUA5MMZAxCyD6ugORTdriZcZhEBCLL5xF4j1z8coBFcr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TqnaFDnhG+khpDg5bBCS5LEJsY8yf2UtC/+Mu8gBaeeAdBNu9B7hehNLB5n7gROimKhd2PYKIF3nFVfzp0yir+e7p4XE0oUex7Fr9kYanrduBdOMcNrApihc+7db6FyLxxa+J/O5VKMFvje4M/RaXNsO/N3ANnaNmv1+nLZ+2iarGofGyKUlecRxQjj0bn8LYbQCSM+JS8RMbZYIBLHm2b54kdLxNmwLTmdS+HI0tUzkN2q+TjX1Kk5iEh2kfkfKomY7EnK+2Xk9a9MYg+FqO5w3QNvjLBKmV0owespopFHabwb+33mqbHivv7JZz9hh8/T/mc5adir1sV7+yykiQ== X-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:SG2PR06MB0919; BCL:0; PCL:0; RULEID:; SRVR:SG2PR06MB0919; X-Forefront-PRVS: 096029FF66 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(4630300001)(6009001)(6069001)(33646002)(50466002)(586003)(6116002)(3846002)(50986999)(76176999)(66066001)(48376002)(47776003)(36756003)(92566002)(50226002)(229853001)(76506005)(42186005)(81166006)(4326007)(107886002)(78352004)(5001770100001)(575784001)(4001430100002)(2906002)(5004730100002)(19580405001)(8676002)(5003940100001)(2950100001)(189998001)(5008740100001)(77096005)(19580395003); DIR:OUT; SFP:1102; SCL:1; SRVR:SG2PR06MB0919; H:localhost; FPR:; SPF:None; MLV:ovrnspm; PTR:InfoNoRecords; LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SG2PR06MB0919; 23:PLCx6zjWcucJk01333lr0Nq5dEL3eHdhpfXCF7VwE?= =?us-ascii?Q?nbYfrgpEJzFGFgtCVDMzomyU7BZKAmDIv89v3TZDrpRB7j5Fbdw4dguqeo4A?= =?us-ascii?Q?fvsP7+QuIPb7NUdyt3Lb9TNz0pGbEVf83UQ+I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microsoft-Exchange-Diagnostics: 1; SG2PR06MB0919; 5:9fLG5qyeK7R5hJMJcwtJDqiUn98odyfI8yBi32mokkZ3QV0B3Usq/BR8/VTbpXyKiIR89t8qBbK8YCwSXY9LlI2x7fC+c7B3lPjohZsJ5tCyMjedze4FoH2XsMobbJABbSdLcDRORmR2jVnn9bR7uQ==; 24:nvl8juaoFtT7/CBxIp5QVqFk8l4C/U4N5YprzjfkGEiD4p7Yzzu9cktBI3gwIvul8DOXc6ezGJKhhqvpCcwQV+cJzHnbz1AeE66wQRc5N2k=; 7:JMTP+zfgmnYG5bKWhD9zPHdRiiRmgEDD4/nKTp408irqxrOlUc0a2jde8KLfQ/2YGa9nJw3gGEmU2WO3eskntUqoiCvt/EAq4Qw7J+hXPf3It36o6q6d8fHuhVUOtuedjbWgU0fT9NGbq1Jmr6rQlO/4mEZZKNR/NQEA1Y/pRR1i2JV7BPTs6rGvP07Zq/S4; 20:VFCGB37cbwKOEaqIRZMDOPslQm5JjR+cY1xc2/c22fCKP8dUKD9jC+Z7gTB3bwj0akaUl/tbAvw9laIAA2wjnZSDpcIQq3Bl4AsOmpbPqv6rIGeKK5BXkVei1kDmMRZlPxgJ9+WSAK2181AsLQ6Sy/4BsvZ7kuPgj/WLMM+EmOs= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: renesas.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 01 Jun 2016 02:40:22.1418 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: SG2PR06MB0919 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 This patch adds quirks in struct xhci_plat_priv to set xhci->quirks for platform-specific. 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 9af0cb4..c652f33 100644 --- a/drivers/usb/host/xhci-plat.h +++ b/drivers/usb/host/xhci-plat.h @@ -17,6 +17,7 @@ struct xhci_plat_priv { const char *firmware_name; void (*plat_start)(struct usb_hcd *); int (*init_quirk)(struct usb_hcd *); + unsigned int quirks; }; #define hcd_to_xhci_priv(h) ((struct xhci_plat_priv *)hcd_to_xhci(h)->priv)