diff options
author | Doug Brown <doug@schmorgal.com> | 2022-09-06 03:07:09 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2022-11-08 08:12:51 +0300 |
commit | b3d726cb8497c6b12106fd617d46eef11763ea86 (patch) | |
tree | 8ffbee211394059a66b2923a2117125342658733 /drivers/dma/idxd | |
parent | 0ec8ce07394442d722806fe61b901a5b2b17249d (diff) | |
download | linux-b3d726cb8497c6b12106fd617d46eef11763ea86.tar.xz |
dmaengine: pxa_dma: use platform_get_irq_optional
The first IRQ is required, but IRQs 1 through (nb_phy_chans - 1) are
optional, because on some platforms (e.g. PXA168) there is a single IRQ
shared between all channels.
This change inhibits a flood of "IRQ index # not found" messages at
startup. Tested on a PXA168-based device.
Fixes: 7723f4c5ecdb ("driver core: platform: Add an error message to platform_get_irq*()")
Signed-off-by: Doug Brown <doug@schmorgal.com>
Link: https://lore.kernel.org/r/20220906000709.52705-1-doug@schmorgal.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/idxd')
0 files changed, 0 insertions, 0 deletions