Message ID | 20200916132537.8313-3-peng.fan@nxp.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:5ad1:0:0:0:0:0 with SMTP id b78csp441930ilg; Wed, 16 Sep 2020 06:00:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwCbTNR9HD+IBBpVjOxxqo46JqAXeyHddf7AWYfPeSYYG+Bp3glqTFf+4VUnUJwRoWWczuI X-Received: by 2002:a05:6402:1779:: with SMTP id da25mr26793313edb.75.1600261207646; Wed, 16 Sep 2020 06:00:07 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1600261207; cv=pass; d=google.com; s=arc-20160816; b=aCFiF7etMpUR7HbJG76KOUlg4zd0h21bgtkxkaad+NIVVXbAgzJOYXOTg5zmG2zW54 MnxpFb87w0DB64CRYrID82EOaSEPVD8PCraEbxkqiexlelOoVTmQ2w6UbtQgEYiGw8Rd c3IWZhqPN5Js2921ef/bl+xCMxhIj1g5Mt5KFQLtLwkX425hv5+4VjFeEL/H8NwHOLtP 3cmS6vLjHytF+XRHSDRcV/0KxYo1wWEcuUqT6V8EoEDUeQ3FoszjTxakgR7CJzS3NooS tczunJaokn+NeO5qIQ064OYkH1bq1cZAozyKr6VeHaQ9t4uXfXQh6mSKXvV87erW2rbv 4A3g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version :content-transfer-encoding:references:in-reply-to:message-id:date :subject:cc:to:from:dkim-signature; bh=g+O4Z6/061KpMVfVlB+EQAM81GFEf6hKde88htQBKCM=; b=CvjXj7aKXtSh8sjlmEa6QFY/DglPEIViAP9q7NM9da/LKtbabpj0p1Cz/+SaPdckNa uv+4lt+awwpKmvXoPuX00xDg5CbAGwSfIDg78pvAtH+6blWlUexMRGjn6fPLf2v9X9Na Sdro2jjSnhM/zL4CN5e1klweKFg/EiFK6TE8YX1WngcIT5QZ6fudBWX/qPhqWuTnZh1x 1IBysZJp4DNNFGdai6hvGrA6vH5evH/YU+ABSpw9yZ6pzF7u8orPZhylDOYbcFFmLx4A D4VKvxVtReE5p8GQT6a9R+ybSy4SHYFK4bDwzDpuH/+4Mg1J7jjDFp6Xx1I9bjwODn0V 3xpQ== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=shQtbbV7; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: <u-boot-bounces@lists.denx.de> Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id p2si11607610ejw.176.2020.09.16.06.00.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Sep 2020 06:00:07 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@nxp.com header.s=selector2 header.b=shQtbbV7; arc=pass (i=1 spf=pass spfdomain=nxp.com dkim=pass dkdomain=nxp.com dmarc=pass fromdomain=nxp.com); spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4FF838234E; Wed, 16 Sep 2020 14:59:50 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=nxp.com header.i=@nxp.com header.b="shQtbbV7"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0B95B82337; Wed, 16 Sep 2020 14:59:47 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FORGED_SPF_HELO,MSGID_FROM_MTA_HEADER, SPF_HELO_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.2 Received: from EUR01-VE1-obe.outbound.protection.outlook.com (mail-ve1eur01on0603.outbound.protection.outlook.com [IPv6:2a01:111:f400:fe1f::603]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 260548231E for <u-boot@lists.denx.de>; Wed, 16 Sep 2020 14:59:44 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=nxp.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=peng.fan@nxp.com ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WZzVpqMGjmHHgwCD519G32ZNzKXPvu6X/OGwj7ZVi03Ku4MFMikcX/ZSZM4TXtqMa+SI+WM1w0BWspNS9QCBO0XnwikYTVmx7Go/ygQ4tUheTzRj/89YgOnxQuqU762MXEQRWwWpl4W4jp6Bf2Lkc4J6UnU+WsetsiBBzQzt0f8Ao/v1BOCMitiyJlSmWU59Jc6h2tVFp2fMrYC0JDR0cSNy4yx2f9rFUgWWv5+tDobqk7kfJ+DFIGWBzaKwnsa1nL9kSYBESq1B6AabY9jSwIYMyC5mft1/7sMa9KeFuDjM9CIOU+HVfV3XH6NARtIk+ZPRNgnRYgAahqs+AxpCBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=g+O4Z6/061KpMVfVlB+EQAM81GFEf6hKde88htQBKCM=; b=BiP7ul52RNtPa5kF/kpxs+IyEzW2RSGhx3r5EzBWYwPXl5FD8Pwh9zxA920gpQP5DWns90y6SFerN0GRe5sO9hdTkG1GsY6652IA8GOK46kMZRc2jIstl9a29U361RKoY6vBfSMvvYdT4oXvhwKuyDkETF4wKKC5P2I8ZbnmQwfXx5s1o6FVtvs6WO5omluBq3jKbPamRRfVStGPBAP8OH09SAuF5N5gYWODonuN5a3/KzkUXm3/5ubsAy5fq+vJMMyzcGz2uu8oAK4P24f+QDjoS4tYuM+59DXFQRIRBhPOGkCLChg6ftrXAo79XnN+ZUhbTcckFyVKPotRRsaGJg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=g+O4Z6/061KpMVfVlB+EQAM81GFEf6hKde88htQBKCM=; b=shQtbbV7e2z7LQa5Nfb1zBkZ1QZnbgo0Alzf6YM6Li4wIMij9D4MYFqimDDsZFYV5jYd6t3gpSRgYSzmCcoJDq7o2HSziNhbngjQpnPyRR4I6UrRjb4SB2pguHAaHSV/KPrL46njDggadwp3ua/QkX3M2pElMxJPapERolOHlgk= Authentication-Results: denx.de; dkim=none (message not signed) header.d=none;denx.de; dmarc=none action=none header.from=nxp.com; Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) by DB6PR0401MB2373.eurprd04.prod.outlook.com (2603:10a6:4:4b::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3370.18; Wed, 16 Sep 2020 12:59:42 +0000 Received: from DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::39ff:13b4:4f28:1413]) by DB6PR0402MB2760.eurprd04.prod.outlook.com ([fe80::39ff:13b4:4f28:1413%10]) with mapi id 15.20.3370.019; Wed, 16 Sep 2020 12:59:42 +0000 From: peng.fan@nxp.com To: sbabic@denx.de, lukma@denx.de, marex@denx.de Cc: uboot-imx@nxp.com, u-boot@lists.denx.de, Li Jun <jun.li@nxp.com>, Peng Fan <peng.fan@nxp.com> Subject: [PATCH 02/16] usb: gadget: don't change ep name for dwc3 while ep autoconfig Date: Wed, 16 Sep 2020 21:25:23 +0800 Message-Id: <20200916132537.8313-3-peng.fan@nxp.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200916132537.8313-1-peng.fan@nxp.com> References: <20200916132537.8313-1-peng.fan@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SG2PR03CA0131.apcprd03.prod.outlook.com (2603:1096:4:91::35) To DB6PR0402MB2760.eurprd04.prod.outlook.com (2603:10a6:4:a1::14) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from linux-1xn6.ap.freescale.net (119.31.174.71) by SG2PR03CA0131.apcprd03.prod.outlook.com (2603:1096:4:91::35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3391.5 via Frontend Transport; Wed, 16 Sep 2020 12:59:40 +0000 X-Mailer: git-send-email 2.28.0 X-Originating-IP: [119.31.174.71] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 2cec6160-f03f-4325-2f30-08d85a4060c6 X-MS-TrafficTypeDiagnostic: DB6PR0401MB2373: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: <DB6PR0401MB237333EC118E4BA4B879F8D588210@DB6PR0401MB2373.eurprd04.prod.outlook.com> X-MS-Oob-TLC-OOBClassifiers: OLM:4714; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: fw23KO/J11y7lT6ssvDCbxmuH2kWDjxdNviHxBdUdIvx/eQyVVhBHe2gxepFLq+TtalBWwmB5scB9K8ru9jm6yis3FvxoKFvea4wZhRzERiR85FNMALJIjpCrtdmu4VtYL3Tp6CePlP396nKq+dKja/cfjYG1hQS5scYqQD8C06LEhYL4/67EsGUxemguz/3W9nwTQhIYgegRR0gArwKAMEZoBnZ9efsyv7Awpg/Yj5Th9YvHNGtYrFcegvmJfSuQiPZMVReP43ux2fDufcr2RXVHzOFkJyxgV6gaJbdG+mec4sOR/ShDoug9r/Ge7UO X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB6PR0402MB2760.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(366004)(376002)(136003)(39860400002)(396003)(54906003)(6666004)(9686003)(4744005)(1076003)(6512007)(5660300002)(478600001)(52116002)(36756003)(6506007)(66946007)(26005)(6486002)(16526019)(186003)(956004)(316002)(66556008)(66476007)(2616005)(86362001)(8936002)(2906002)(4326008)(8676002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: hZGnYpD7Q4pCZvvZpJqpkq0S06Ir2fSzw1AFRL409FoBlaFCoy1ESw7SwrgVlU25MWFY58rk0QJ3JoRpfSfjI+HqyyGsBrnqPKuJ1SmQlDI6L2WOaoLlKBDLsGrlk7s+7jSYRXU6nz6GXxeigRDlqLoSFuNZ+A53Fwfu1NNE7eRyo4rI+nGcuGMf8wA1CMWZ2CV7x0gE4WjPeYZyD8Bo8C8otYM5gn7SlAYWPylOtXJj6nkra7tiR9GMSzhqLNxm0mTF4gMbGX2VkvyxbrIlg+xhNLN3NC2NdJ5JSgL2PsXDcnO9I6v8VSMnmjjbxZI1Vexc2ySKU7HTqKgqVm1+CJHUKkMn1YGUaY9dMUwacc4INJOM2lbRKuDOmr5VNvYXvxZKVZ1l8YEIk0v0Xqehb1tFDvU2OPse59mf7e5e/9BDIUPqnyzt9XmTkRGnT2TTHUk0VhGWH3kLLoyMEQ3umFdc7gZRtC7Vvk7syr0Uv+vX8kc6X18OrkHVA092FCo6VIEulwIZSFgSM+roYRG1HziWegohGvDu8xx9Mj8lzEzeRRXXNmB7Tlx9wnpLPLYcF29nsXI+AbbEQds/6Ajx4BDeOdAqTR1hJvB8VDTtyBv+GFxGrS9aaZNHddcqzrSUzR+x0x1Vyhe6F6EaU6IydA== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 2cec6160-f03f-4325-2f30-08d85a4060c6 X-MS-Exchange-CrossTenant-AuthSource: DB6PR0402MB2760.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Sep 2020 12:59:42.5600 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: E+tx6GM+vg0PtM9IcCaypvbbww5M9lvgTzU1VZxSDJDmL3UdBIW9kEeTXEZA275ezXb0mqtX/ajoLeKLzvn8Ew== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0401MB2373 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean |
Series |
usb: gadget: update
|
expand
|
diff --git a/drivers/usb/gadget/epautoconf.c b/drivers/usb/gadget/epautoconf.c index 3f8842976d..7da334f5d3 100644 --- a/drivers/usb/gadget/epautoconf.c +++ b/drivers/usb/gadget/epautoconf.c @@ -262,6 +262,7 @@ struct usb_ep *usb_ep_autoconfig( ep = find_ep(gadget, "ep1-bulk"); if (ep && ep_matches(gadget, ep, desc)) return ep; +#ifndef CONFIG_SPL_BUILD } else if (gadget_is_dwc3(gadget)) { const char *name = NULL; /* @@ -284,6 +285,7 @@ struct usb_ep *usb_ep_autoconfig( ep = find_ep(gadget, name); if (ep && ep_matches(gadget, ep, desc)) return ep; +#endif } if (gadget->ops->match_ep)