aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-add.c
diff options
context:
space:
mode:
authorAkhil R <[email protected]>2022-05-05 14:44:40 +0530
committerVinod Koul <[email protected]>2022-05-16 16:58:10 +0530
commit461cd3709f266d179064b0a63d8949fa2e75ff72 (patch)
treec1c9a9b353b20f616ac9abf68a2ebbe022b6738a /lib/mpi/mpi-add.c
parent99faef48e7a3f878848a2d711af710e36fadbd6e (diff)
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 <[email protected]> Signed-off-by: Akhil R <[email protected]> Acked-by: Thierry Reding <[email protected]> Reviewed-by: Jon Hunter <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-add.c')
0 files changed, 0 insertions, 0 deletions