From: Fabio Estevam <festevam@gmail.com>
To: Lucas Stach <l.stach@pengutronix.de>
Cc: Thomas Gleixner <tglx@linutronix.de>,
Jason Cooper <jason@lakedaemon.net>,
Marc Zyngier <marc.zyngier@arm.com>,
Rob Herring <robh+dt@kernel.org>,
Mark Rutland <mark.rutland@arm.com>,
linux-kernel <linux-kernel@vger.kernel.org>,
"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
<devicetree@vger.kernel.org>,
Sascha Hauer <kernel@pengutronix.de>,
patchwork-lst@pengutronix.de
Subject: Re: [PATCH 2/2] irqchip: add driver for imx-irqsteer controller
Date: Tue, 16 Oct 2018 13:48:59 -0300 [thread overview]
Message-ID: <CAOMZO5CS6e00V4aCeCwEBO6z8FXq2ZiCJK-FgWDDK5qu6cYOqw@mail.gmail.com> (raw)
In-Reply-To: <20181016164218.3736-2-l.stach@pengutronix.de>
Hi Lucas,
On Tue, Oct 16, 2018 at 1:43 PM Lucas Stach <l.stach@pengutronix.de> wrote:
> --- /dev/null
> +++ b/drivers/irqchip/irq-imx-irqsteer.c
> @@ -0,0 +1,281 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
According to Documentation/process/license-rules.rst this should be:
// SPDX-License-Identifier: GPL-2.0+
> + ret = clk_prepare_enable(data->ipg_clk);
> + if (ret) {
> + dev_err(&pdev->dev, "failed to enable ipg clk: %d\n", ret);
> + return ret;
> + }
> +
> + /* enable channel 1 by default */
> + writel_relaxed(1, data->regs + CHANCTRL);
> +
> + data->domain = irq_domain_add_linear(np, data->channum * 32,
> + &imx_irqsteer_domain_ops, data);
> + if (!data->domain) {
> + dev_err(&data->pdev->dev, "failed to create IRQ domain\n");
You should call clk_disable_unprepare(irqsteer_data->ipg_clk); prior
to returning.
> + return -ENOMEM;
next prev parent reply other threads:[~2018-10-16 16:48 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-10-16 16:42 [PATCH 1/2] dt-bindings: irq: add binding for Freescale IRQSTEER multiplexer Lucas Stach
2018-10-16 16:42 ` [PATCH 2/2] irqchip: add driver for imx-irqsteer controller Lucas Stach
2018-10-16 16:48 ` Fabio Estevam [this message]
2018-10-16 17:38 ` Marc Zyngier
2018-10-25 14:35 ` [PATCH 1/2] dt-bindings: irq: add binding for Freescale IRQSTEER multiplexer Rob Herring
2018-10-26 16:11 ` Lucas Stach
2018-10-26 16:29 ` Rob Herring
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAOMZO5CS6e00V4aCeCwEBO6z8FXq2ZiCJK-FgWDDK5qu6cYOqw@mail.gmail.com \
--to=festevam@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=jason@lakedaemon.net \
--cc=kernel@pengutronix.de \
--cc=l.stach@pengutronix.de \
--cc=linux-kernel@vger.kernel.org \
--cc=marc.zyngier@arm.com \
--cc=mark.rutland@arm.com \
--cc=patchwork-lst@pengutronix.de \
--cc=robh+dt@kernel.org \
--cc=tglx@linutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).