From: Vinod Koul <vkoul@kernel.org>
To: Lars-Peter Clausen <lars@metafoo.de>
Cc: Michal Simek <michal.simek@xilinx.com>,
Radhey Shyam Pandey <radhey.shyam.pandey@xilinx.com>,
dmaengine@vger.kernel.org
Subject: Re: [PATCH] dmaengine: xilinx: Handle IRQ mapping errors
Date: Mon, 13 Dec 2021 11:23:14 +0530 [thread overview]
Message-ID: <YbbfypH4k2k7GOVs@matsya> (raw)
In-Reply-To: <20211208114212.234130-1-lars@metafoo.de>
On 08-12-21, 12:42, Lars-Peter Clausen wrote:
> Handle errors when trying to map the IRQ for the DMA channels.
>
> The main motivation here is to be able to handle probe deferral. E.g. when
> using DT overlays it is possible that the DMA controller is probed before
> interrupt controller, depending on the order in the DT.
>
> In order to support this switch from irq_of_parse_and_map() to
> of_irq_get(), which internally does the same, but it will return
> EPROBE_DEFER when the interrupt controller is not yet available.
>
> As a result other errors, such as an invalid IRQ specification, or missing
> IRQ are also properly handled.
Applied, thanks
--
~Vinod
prev parent reply other threads:[~2021-12-13 5:53 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-08 11:42 [PATCH] dmaengine: xilinx: Handle IRQ mapping errors Lars-Peter Clausen
2021-12-08 12:29 ` Radhey Shyam Pandey
2021-12-13 5:53 ` Vinod Koul [this message]
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=YbbfypH4k2k7GOVs@matsya \
--to=vkoul@kernel.org \
--cc=dmaengine@vger.kernel.org \
--cc=lars@metafoo.de \
--cc=michal.simek@xilinx.com \
--cc=radhey.shyam.pandey@xilinx.com \
/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