Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp1610905imj; Fri, 8 Feb 2019 04:30:38 -0800 (PST) X-Google-Smtp-Source: AHgI3IY/PzqRb1tmxwFxFfPWL1PTv3WoRBF1eAeRJjsWR0yMNLg0gZxHQKtNey3WL1zz9secxZHE X-Received: by 2002:a17:902:9689:: with SMTP id n9mr13663229plp.8.1549629038328; Fri, 08 Feb 2019 04:30:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549629038; cv=none; d=google.com; s=arc-20160816; b=ttXBbzln7w1UziHyTejMhPN4GRm+RuVl/MoEqBdeXsber++TcFvhyEFj2t4lB7u/f6 Ave7Y7nNSPpSsoED0QFkDMGkDOMPOTgpuWrdaYcU1OBzV84PpODE4FV1fPnONJHohbI0 4bF3e0QY4qw5SepcOJW4P4U7WAgAgX60b+KtPEm3wuEN0GYuUjvLoqVv3K+b2xFvz2iQ bjsrOX5OXNvYYbx4s/OU0vlPxPnfVXnFRKsIvmcOWyR+8FwcAUJlG93FgjY3O/Na5dhS JsqAm8+1HVpV7QLtumz1Wglfn8wNoOWcR1XmxQcmoI5L/pdSoUo6Xde3+Kta9Wn0Yf9z PEoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=U4llWnWHk/iioaBg109tqNu+HuUT0xmojGp7I0EC54Q=; b=f8clpwVFF8Eqhm6ErrEjeIhTnwxhVuvQJjN23e1fX+zcrQHFDRei3MCx3VcfTbHx5x j/q6QneYsxZA4BS0Sx+rFNW0LpHN9QnOtkhKzx0HUVlh+i7MM9R+Bz490W/kpuI6iidk NjzmeAYjZv3LUD4auHliAvsfWX7jT9UphiTCabWl+MRGg4EOvL/4UG11B3TH2FhY6KrT X9tHkiSkPAOU/puDAmAkpEr1wCa9uRmjpVKixkAN35ifKQOzuD+fHu/4an5dXasnmD7L shkWI6LwEh0ihqUfs0XVyTzCe04hWaeBRP4b9p2CQ51surzlgn/zrZap7eWYf7Q+7Ncm ezRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mobiveil.co.in header.s=google header.b="L/fyudzr"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r207si2365279pfc.179.2019.02.08.04.30.22; Fri, 08 Feb 2019 04:30:38 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@mobiveil.co.in header.s=google header.b="L/fyudzr"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727773AbfBHM2V (ORCPT + 99 others); Fri, 8 Feb 2019 07:28:21 -0500 Received: from mail-wr1-f67.google.com ([209.85.221.67]:40027 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726522AbfBHM2U (ORCPT ); Fri, 8 Feb 2019 07:28:20 -0500 Received: by mail-wr1-f67.google.com with SMTP id q1so3363931wrp.7 for ; Fri, 08 Feb 2019 04:28:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mobiveil.co.in; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=U4llWnWHk/iioaBg109tqNu+HuUT0xmojGp7I0EC54Q=; b=L/fyudzrkzoYTq4L/ntv6UXvIiIYQqA7Ub6OxQPODZcgS/4JVHGT856I6pqUC7Zb0G tFb21UBAOnBWD35EphMs15SF7tcLOw0jAiGEHEe6OmRmpSUTj8c9+Qwc+Uru7p+SYopy yhQ2gqJozThixs3FipH3W96aeQ/uAzyRp6uHo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=U4llWnWHk/iioaBg109tqNu+HuUT0xmojGp7I0EC54Q=; b=CW9yyyZuUvfw5iOe7Eu2ANdWyopHBVffbAgcz0R7oLB2qBO12duRwONRklLSR44/h+ AqXBiu228RqMOnRVDThXsx011y7iH/sYM8FC43UlJzrSvX+A821k6aFRGgFQl2uYaRnl aAR3LtoNMR+mon/GASmx06Ll3Wzae8yeFQlpQupu7/lDackZ75ZCz76yclspfpdO4ie/ XqS/qlIgZqn2dH3fnKSqvRpWQESmH4oDhH6ge5AhXH6ax/QP99A1GGvp5U0qX4IPegCb 0fKR6lxq3e4BKzzZOg4eJcmqNJSLQBltamB3HhQhFTLaMre/snEunIvAPv/vssV2d0qH JptQ== X-Gm-Message-State: AHQUAuYFjZ9RgJgKJioBXd3v6jSwQ5DA/8MAm6MfHHEOvaIriMfgFzvQ fzBiLWAbdT5Y+V6zUgt31v+v8IjQDcSmKbb9R/ZsYg== X-Received: by 2002:a5d:468e:: with SMTP id u14mr14259352wrq.253.1549628898050; Fri, 08 Feb 2019 04:28:18 -0800 (PST) MIME-Version: 1.0 References: <20190129080926.36773-1-Zhiqiang.Hou@nxp.com> <20190129080926.36773-14-Zhiqiang.Hou@nxp.com> In-Reply-To: <20190129080926.36773-14-Zhiqiang.Hou@nxp.com> From: Subrahmanya Lingappa Date: Fri, 8 Feb 2019 18:00:57 +0530 Message-ID: Subject: Re: [PATCHv3 13/27] PCI: mobiveil: move irq chained handler setup out of DT parse To: "Z.q. Hou" Cc: "linux-pci@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" , "devicetree@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "bhelgaas@google.com" , "robh+dt@kernel.org" , "mark.rutland@arm.com" , "shawnguo@kernel.org" , Leo Li , "lorenzo.pieralisi@arm.com" , "catalin.marinas@arm.com" , "will.deacon@arm.com" , Mingkai Hu , "M.h. Lian" , Xiaowei Bao Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jan 29, 2019 at 1:39 PM Z.q. Hou wrote: > > From: Hou Zhiqiang > > Move irq_set_chained_handler_and_data() out of DT parse function. > > Signed-off-by: Hou Zhiqiang > Reviewed-by: Minghuan Lian > --- > V3: > - No change > > drivers/pci/controller/pcie-mobiveil.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > 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; > -- > 2.17.1 > Reviewed-by: Subrahmanya Lingappa