Message ID | 1623233927-21476-1-git-send-email-jun.li@nxp.com |
---|---|
State | New |
Headers | show
Return-Path: <linux-usb-owner@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_CR_TRAILER, INCLUDES_PATCH, MAILING_LIST_MULTI, MSGID_FROM_MTA_HEADER, SPF_HELO_NONE, SPF_PASS, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5D26BC48BCD for <linux-usb@archiver.kernel.org>; Wed, 9 Jun 2021 10:36:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 384966100A for <linux-usb@archiver.kernel.org>; Wed, 9 Jun 2021 10:36:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236484AbhFIKip (ORCPT <rfc822;linux-usb@archiver.kernel.org>); Wed, 9 Jun 2021 06:38:45 -0400 Received: from mail-eopbgr50050.outbound.protection.outlook.com ([40.107.5.50]:26596 "EHLO EUR03-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S234105AbhFIKio (ORCPT <rfc822;linux-usb@vger.kernel.org>); Wed, 9 Jun 2021 06:38:44 -0400 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=XpQkzIOoteoPGhLMgrbpn9InnX0wd2hNBMfA5z4npqO0fR+WXj9ahq0afos0rVOE7bHovJQASvO2GnY8XWpkvWw+r5100KluK49FD2Y9elTQRQuGKCRYiBi2gpt7F/v/aUTIYT5JGBykZ3WWdnVcPwEdX/JYyx2hHtreni8lMD+oCGN2osDlOdO3n4ZWJuRcAe1MzlysT9j8MMwuiLuYnquvH8sDBVnsgmI8+5ZZr/emKxwB6eU/JvMDruT3yfErhlep0Qh5oMSf3iyz5Yc4gLkaUTDtE8n3lBoLf9jFupabar/N5QUcPVhXqNIXy01XlOQ6peP6eV0MQ4h34jFUiw== 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=tpG7XiYR4jFmMkNvmCsv23Te0aPBc3ez0KqXEQBUXBk=; b=JCLxHm1Qzp4b3HO541Tp0xt8yHLzKBgNS3JIWkRlB1GWa3ce8dNgiXQtP5/y5FG7ImcifbubRuZ6vVwSoIfB5GkWsPPw2tkvxiQ50/Nj6OQcsI6jDLGsdzikLrsK3PQSnDSiMBkIXULA3WSUx1kWWAueaTZar0VyLNy93banMjzh/jn7WBuWWI7xvjYaaK5dcvfCvdVzaBxwmCN/0cyc3ihhWGJTy5pq2qohsnd/zD4Kn9ab7mru8awT+sXOn6L+vh2+6zIUEawG5X6v4lYT+l8rbfcfB7lqt9tV9ybjDaJ16/Fbr6RL2JY2t4A5uQAK9SUs7qi1Ay4yulORkCHadA== 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=tpG7XiYR4jFmMkNvmCsv23Te0aPBc3ez0KqXEQBUXBk=; b=jejgUarwSsR/xEv3NgBTpZ1LSmk1tG22CuBLrMCdd2IT7uItpUGUD22nWuvvAXxx6g6Zc0z46rJfwBc99nlJxIzS/GsFfN6VhI4spvJatUkUhc30h7GWaYG6Nl//H8TKWH7wHnJaMfVfQWjg3t/5zIzclpdzCtDvV9bqdqnGduw= Authentication-Results: kernel.org; dkim=none (message not signed) header.d=none; kernel.org; dmarc=none action=none header.from=nxp.com; Received: from VI1PR04MB5935.eurprd04.prod.outlook.com (2603:10a6:803:e9::17) by VI1PR04MB3024.eurprd04.prod.outlook.com (2603:10a6:802:d::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4195.24; Wed, 9 Jun 2021 10:36:47 +0000 Received: from VI1PR04MB5935.eurprd04.prod.outlook.com ([fe80::453c:f24d:af8e:f194]) by VI1PR04MB5935.eurprd04.prod.outlook.com ([fe80::453c:f24d:af8e:f194%7]) with mapi id 15.20.4195.030; Wed, 9 Jun 2021 10:36:47 +0000 From: Li Jun <jun.li@nxp.com> To: peter.chen@kernel.org Cc: gregkh@linuxfoundation.org, linux-usb@vger.kernel.org, linux-imx@nxp.com, faqiang.zhu@nxp.com Subject: [PATCH v2] usb: chipidea: udc: assign interrupt number to USB gadget structure Date: Wed, 9 Jun 2021 18:18:47 +0800 Message-Id: <1623233927-21476-1-git-send-email-jun.li@nxp.com> X-Mailer: git-send-email 2.7.4 Content-Type: text/plain X-Originating-IP: [119.31.174.66] X-ClientProxiedBy: SG2PR03CA0103.apcprd03.prod.outlook.com (2603:1096:4:7c::31) To VI1PR04MB5935.eurprd04.prod.outlook.com (2603:10a6:803:e9::17) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from localhost.localdomain (119.31.174.66) by SG2PR03CA0103.apcprd03.prod.outlook.com (2603:1096:4:7c::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.4219.12 via Frontend Transport; Wed, 9 Jun 2021 10:36:45 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 17855c88-8eb3-4aac-4819-08d92b327b7c X-MS-TrafficTypeDiagnostic: VI1PR04MB3024: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: <VI1PR04MB30248F89945695E9536A472589369@VI1PR04MB3024.eurprd04.prod.outlook.com> X-MS-Oob-TLC-OOBClassifiers: OLM:747; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: hN5PpWS8iXylSuDenwpVUfY5Qb3ak+ScwhcLtQmro1G4kK2MoW34IB2WRP0/cWZ0qwFCARZid2l1TUWD77ZP62CYyA5+Ek+5OfmhQhI8nS2JOxh72EpWIYkX5hkMXJVwIUM8OudPUXs/GHXKwwNr3PmsTvaudJegRETY/tAT3ep9bFzdWPGyA6WcaJ8HZaNLihMeNTQ887UBYxGmaKbccw5I6GRIllV9I2rZwe0AUihTpf5kFM4WycOWrsYtQJzOrCr8hXtfCIxptNjmx/Pl4c+h4dJbtrVXLlb59hFtLJ+bRUl9RRqnC5i0qC0lmFRGbURjPAinj/NErGfpqYWVmTC+liquAtPUq7oRsmwtSQBDKc3qZdJixy/ru8nVpNYCoi8quV/RwaoeKYgjle4VJwQ1UTszKPuz5O8eBhEpxOxMDWksasdCvIg97TXaeey8YXjK2kHpY/pT1Mal9du8nFYyt/Sw6ZANX6ezr3pE+UNDvsNLptBcjFby0s81cqiCn+I3G+3FVSL6gX/Kwu76kRTmJWp16tD7jf9MIN8aLIKrYTPMase3YrmnkrCmoxfsGoFvp40QxDtRywSVYwL4uPBf2CTP4ZHeC/OrI11EdBbDrRo0wo8rOj7LAhMBXKKn+x2tZVc6wOAqiSUrmjaoed49zPaE3QtZAicF9U7sX157OyAodXS1swdm9sHyYtvE X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR04MB5935.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(346002)(376002)(396003)(136003)(366004)(52116002)(38350700002)(6486002)(2906002)(8936002)(36756003)(6916009)(38100700002)(45080400002)(4326008)(8676002)(186003)(2616005)(478600001)(66556008)(66946007)(86362001)(16526019)(316002)(83380400001)(956004)(5660300002)(66476007)(6506007)(6512007)(26005)(69590400013); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: DusTINU67nqViX+EvDBBgDG0d7wxlri6kcdh92At/r7SZEfgQ5xLlfcLg5l0QtWUzULNGFO+Ach6bNIsPpFT29BNIUDjRnMFf/GT0sG1bo+MpG7R3yKWfcjYlkKU2rxlP4H+uWhOu0LovuuyHkfdQgpKP94+ENuwC4s+4/lHD+sSepOqQrgQK2iTTFfwWFPtSa0Df4qMZ6G13yJSUuNbO0QAjTvum7IxknW9xXhJJ83NnVBkRGkFIBcIKUK8HD2SmD9cIL9Q8XEodIbrXQkKMtFgMIfMobkmNC2r71nnbUBErRKDPRC/G7azDKWNOGEqwNZ85NVrcHMIr/6V5OOBvbqx/wTXHcaziJ7pNJY9R3VV1T0FUy7+OBrzmvPBkIclOpg4cDC7vku589DCf4ONvyEvqYNnywl6GqmRUQLvBnkbRWqBizt1EKvgs1annN1MPsmz/1D8csRD176/tTINmSJUtyBfgQMmSlZkK/E7uL5iwZM5A7fDF8s54K0Cw/a+dGsmpV54FL90IQ4Fu03zbAAN6hmw1yPyZo22O6ZqUhqKd9XndqleHN39mid44GwypGJg+ZUHlQ1zEZA5aUCmt/EVspU6RcHrHFLBzeGY3sTFtqaZgU73s605j+jwh226UiS/TN/SDCa1oM82N4q5BwD8FMU4QR7npLjCzxcM7SKcLYtL/FmeSacv+I2lKrl7qmDsek25SugcuRSk7J0EjnpGVtQA8i9C75m2Du/FM+rM2EEWzdlj5PrmNTTuJar6uW7v+V9lfs+xyJmw0Gnzh/G0zKuY4zo/CSZhmZ/MSqNhKh7n3WmAxvaKqvdXN/zz8/x1FVzrWmJGEvTikEDZiCPXImy8ScMluZRSlB4R+/H/CGZ1hNhHW+xSFH+ixw0BndcMcBbHE8rAlEsFPreyiUusvKHTvtAKOfEU4c5th/uP+fqIx4t3XCCwmflA3OVznFuSLUB3Hrt+g/QUl2m7q04vCBLBmX7Tup/9bAEtGY88/epVLzUM/MI2dokAYQUsdP2j84s0Ns6akIhekFuqvlF3FPKNxji7N8xoPk4YMSKCT94y5YCkmnCSuCvr8lX/D8px5gatYOmAXXfMUB5Jthm6E8d2lRs0IJryST0pE6d19udtPwg/OwsRgNzofmBPWRKuXuI136v0BND6jJN7aiMLnuVbtWpOZJIz2Ht6OA8gA36RXHyLlTafLaIv4kdecPaGp7xaWZUk6JN1WNFnWmSjuYLaueOv3pDozXFxsMpI3mu98LGPuaoo0V0yHT2w61tJtVxIHGkiHbRXtbObPsJrBUB9XQRhKC4PHNxLKxqkzx2PVQ22IMAA+nZnpDo9 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 17855c88-8eb3-4aac-4819-08d92b327b7c X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB5935.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Jun 2021 10:36:47.1876 (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: VK6FZz90ivcUFCtOQw5a+6W/FqGLMYR7SyY8apLywNQbKdVf1/X6hi5ukBhWQvNe X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB3024 Precedence: bulk List-ID: <linux-usb.vger.kernel.org> X-Mailing-List: linux-usb@vger.kernel.org |
Series |
[v2] usb: chipidea: udc: assign interrupt number to USB gadget structure
|
expand
|
diff --git a/drivers/usb/chipidea/udc.c b/drivers/usb/chipidea/udc.c index c16d900cdaee..393f216b9161 100644 --- a/drivers/usb/chipidea/udc.c +++ b/drivers/usb/chipidea/udc.c @@ -2061,6 +2061,7 @@ static int udc_start(struct ci_hdrc *ci) ci->gadget.name = ci->platdata->name; ci->gadget.otg_caps = otg_caps; ci->gadget.sg_supported = 1; + ci->gadget.irq = ci->irq; if (ci->platdata->flags & CI_HDRC_REQUIRES_ALIGNED_DMA) ci->gadget.quirk_avoids_skb_reserve = 1;