summaryrefslogtreecommitdiff
path: root/drivers/dma/ste_dma40.c
diff options
context:
space:
mode:
authorAkhil R <akhilrajeev@nvidia.com>2022-05-05 12:14:40 +0300
committerVinod Koul <vkoul@kernel.org>2022-05-16 14:28:10 +0300
commit461cd3709f266d179064b0a63d8949fa2e75ff72 (patch)
treec1c9a9b353b20f616ac9abf68a2ebbe022b6738a /drivers/dma/ste_dma40.c
parent99faef48e7a3f878848a2d711af710e36fadbd6e (diff)
downloadlinux-461cd3709f266d179064b0a63d8949fa2e75ff72.tar.xz
dmaengine: tegra: Use platform_get_irq() to get IRQ resource
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> Acked-by: Thierry Reding <treding@nvidia.com> Reviewed-by: Jon Hunter <jonathanh@nvidia.com> Link: https://lore.kernel.org/r/20220505091440.12981-1-akhilrajeev@nvidia.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/ste_dma40.c')
0 files changed, 0 insertions, 0 deletions