Messages in this thread | | | Date | Thu, 5 May 2022 15:38:47 +0200 | From | Thierry Reding <> | Subject | Re: [PATCH] dmaengine: tegra: Use platform_get_irq() to get IRQ resource |
| |
On Thu, May 05, 2022 at 02:44:40PM +0530, Akhil R wrote: > Use platform_irq_get() instead platform_get_resource() for IRQ resource > to fix the probe failure. platform_get_resource() fails to fetch the IRQ > resource as it might not be ready at that time. > > platform_irq_get() is also the recommended way to get interrupt as it > directly gives the IRQ number and no conversion from resource is > required. > > Fixes: ee17028009d4 ("dmaengine: tegra: Add tegra gpcdma driver") > Reported-by: Jonathan Hunter <jonathanh@nvidia.com> > Signed-off-by: Akhil R <akhilrajeev@nvidia.com> > --- > drivers/dma/tegra186-gpc-dma.c | 12 ++++-------- > 1 file changed, 4 insertions(+), 8 deletions(-)
Acked-by: Thierry Reding <treding@nvidia.com> [unhandled content-type:application/pgp-signature] | |