Message ID | 20190412083635.33626-14-Zhiqiang.Hou@nxp.com (mailing list archive) |
---|---|
State | Superseded, archived |
Headers | show
Return-Path: <linux-pci-owner@kernel.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 814B617E6 for <patchwork-linux-pci@patchwork.kernel.org>; Fri, 12 Apr 2019 08:36:48 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 66D0328B20 for <patchwork-linux-pci@patchwork.kernel.org>; Fri, 12 Apr 2019 08:36:48 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5A7E328E30; Fri, 12 Apr 2019 08:36:48 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,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 E609428B20 for <patchwork-linux-pci@patchwork.kernel.org>; Fri, 12 Apr 2019 08:36:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727951AbfDLIgf (ORCPT <rfc822;patchwork-linux-pci@patchwork.kernel.org>); Fri, 12 Apr 2019 04:36:35 -0400 Received: from mail-eopbgr130055.outbound.protection.outlook.com ([40.107.13.55]:55108 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727464AbfDLIgf (ORCPT <rfc822;linux-pci@vger.kernel.org>); Fri, 12 Apr 2019 04:36:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PqvEnszV82kVT+aFyv+MMNKGqVlpYea9sV8JORrjfl8=; b=nZHkec7lnIN0QRRY7HO2mAVKkKeSaaeyWpX1IrEwfhePC0M0GYdxhmKI8mTAMJUJealISsVNvJnxniO8m19TLOByEkSAT8Tp6arSw/b8j4ZerVA2ZQ+8Icky02BDvhvEWS6gUjbKTJ13mSdb3xBpptts/zoOZHEgYSI/kvuO6Dc= Received: from AM6PR04MB5781.eurprd04.prod.outlook.com (20.179.3.19) by AM6PR04MB4183.eurprd04.prod.outlook.com (52.135.162.161) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1792.14; Fri, 12 Apr 2019 08:36:30 +0000 Received: from AM6PR04MB5781.eurprd04.prod.outlook.com ([fe80::f9db:ed86:614e:460]) by AM6PR04MB5781.eurprd04.prod.outlook.com ([fe80::f9db:ed86:614e:460%4]) with mapi id 15.20.1792.009; Fri, 12 Apr 2019 08:36:30 +0000 From: "Z.q. Hou" <zhiqiang.hou@nxp.com> To: "linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>, "linux-arm-kernel@lists.infradead.org" <linux-arm-kernel@lists.infradead.org>, "devicetree@vger.kernel.org" <devicetree@vger.kernel.org>, "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>, "bhelgaas@google.com" <bhelgaas@google.com>, "robh+dt@kernel.org" <robh+dt@kernel.org>, "mark.rutland@arm.com" <mark.rutland@arm.com>, "l.subrahmanya@mobiveil.co.in" <l.subrahmanya@mobiveil.co.in>, "shawnguo@kernel.org" <shawnguo@kernel.org>, Leo Li <leoyang.li@nxp.com>, "lorenzo.pieralisi@arm.com" <lorenzo.pieralisi@arm.com>, "catalin.marinas@arm.com" <catalin.marinas@arm.com>, "will.deacon@arm.com" <will.deacon@arm.com> CC: Mingkai Hu <mingkai.hu@nxp.com>, "M.h. Lian" <minghuan.lian@nxp.com>, Xiaowei Bao <xiaowei.bao@nxp.com>, "Z.q. Hou" <zhiqiang.hou@nxp.com> Subject: [PATCHv5 13/20] PCI: mobiveil: Move IRQ chained handler setup out of DT parse Thread-Topic: [PATCHv5 13/20] PCI: mobiveil: Move IRQ chained handler setup out of DT parse Thread-Index: AQHU8QrTfopCD+sT5UucqhCA6WzlIg== Date: Fri, 12 Apr 2019 08:36:30 +0000 Message-ID: <20190412083635.33626-14-Zhiqiang.Hou@nxp.com> References: <20190412083635.33626-1-Zhiqiang.Hou@nxp.com> In-Reply-To: <20190412083635.33626-1-Zhiqiang.Hou@nxp.com> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: HK2PR06CA0011.apcprd06.prod.outlook.com (2603:1096:202:2e::23) To AM6PR04MB5781.eurprd04.prod.outlook.com (2603:10a6:20b:ad::19) authentication-results: spf=none (sender IP is ) smtp.mailfrom=zhiqiang.hou@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-mailer: git-send-email 2.17.1 x-originating-ip: [119.31.174.73] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 4443c359-9c11-4837-ad8c-08d6bf21f5a7 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600139)(711020)(4605104)(4618075)(2017052603328)(7193020);SRVR:AM6PR04MB4183; x-ms-traffictypediagnostic: AM6PR04MB4183: x-microsoft-antispam-prvs: <AM6PR04MB4183AC011FD8A4CA9107FF8984280@AM6PR04MB4183.eurprd04.prod.outlook.com> x-forefront-prvs: 0005B05917 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(396003)(39860400002)(346002)(136003)(366004)(376002)(189003)(199004)(7416002)(102836004)(446003)(52116002)(53936002)(50226002)(186003)(81166006)(8936002)(81156014)(26005)(106356001)(6506007)(6436002)(8676002)(7736002)(110136005)(6486002)(6512007)(54906003)(66066001)(2906002)(386003)(316002)(105586002)(99286004)(305945005)(5660300002)(86362001)(1076003)(71190400001)(97736004)(2201001)(71200400001)(4744005)(68736007)(36756003)(76176011)(14454004)(256004)(2501003)(486006)(476003)(11346002)(14444005)(2616005)(478600001)(3846002)(6116002)(4326008)(25786009)(921003)(1121003);DIR:OUT;SFP:1101;SCL:1;SRVR:AM6PR04MB4183;H:AM6PR04MB5781.eurprd04.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;MX:1;A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: +jejVblDwIVCmLB7Nw513y1U9wZTcenIDBqbptB2M/jXPMzBJ4Xrb63ftatEJcprqHweCj8hY/IWnLuZTANHfry2+muY6YhfLrQu8crd0vPMXbLi4UVbbNGZ56oynQnfVWrBxNy+15ZQcdCWSVhxveB2+PlsLJzFxSGDMQDSw+00qWPZG6ZXHe3Bk4TpDsxQQkQeFsyoHK6ZiU17A2bemEvlNs1Ya/wejG2T2AhiTmBTeAZkfF4GcxOTLgYJC7uOovSxriloZoXgCaB6Xc+HbLM662dGC3X/9KEZ5aLZGpfESnXCgao0EiQjq7krCeMS7n5F6wqkE6WppptHd5yx388TUiAVSaVjOEwHFUtmQIY4FEYaBbrSA3UNvPQq+893M3A/K3PLC7z1ckNx2DRJ+x0P7q9aE7pSh1V6Yi7vzDQ= Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 4443c359-9c11-4837-ad8c-08d6bf21f5a7 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Apr 2019 08:36:30.1631 (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-Transport-CrossTenantHeadersStamped: AM6PR04MB4183 Sender: linux-pci-owner@vger.kernel.org Precedence: bulk List-ID: <linux-pci.vger.kernel.org> X-Mailing-List: linux-pci@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
PCI: mobiveil: fixes for Mobiveil PCIe Host Bridge IP driver
|
expand
|
diff --git a/drivers/pci/controller/pcie-mobiveil.c b/drivers/pci/controller/pcie-mobiveil.c index c2848c22b466..db7ecb021c63 100644 --- a/drivers/pci/controller/pcie-mobiveil.c +++ b/drivers/pci/controller/pcie-mobiveil.c @@ -460,8 +460,6 @@ static int mobiveil_pcie_parse_dt(struct mobiveil_pcie *pcie) return -ENODEV; } - irq_set_chained_handler_and_data(pcie->irq, mobiveil_pcie_isr, pcie); - return 0; } @@ -902,6 +900,8 @@ static int mobiveil_pcie_probe(struct platform_device *pdev) goto error; } + irq_set_chained_handler_and_data(pcie->irq, mobiveil_pcie_isr, pcie); + ret = devm_request_pci_bus_resources(dev, &pcie->resources); if (ret) goto error;