diff options
| author | Andy Shevchenko <[email protected]> | 2021-08-02 20:55:32 +0300 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2021-08-06 21:48:11 +0530 |
| commit | 15cb0321a55e12af6b8456e9ec66a11cb367a673 (patch) | |
| tree | 5b49969c2b8e4354c53868cab841b09403c088a0 /arch/mips/include/asm/mach-netlogic/multi-node.h | |
| parent | 67db87dc8284070adb15b3c02c1c31d5cf51c5d6 (diff) | |
dmaengine: acpi: Check for errors from acpi_register_gsi() separately
While IRQ test agaist the returned variable in practice is a good enough
there is still a room for theoretical mistake in case the vIRQ of the
device contains the same error code that acpi_register_gsi() may return.
Due to this, check for error code separately from matching the vIRQs.
Besides that, append documentation to tell why acpi_gsi_to_irq() can't
be used and we call acpi_register_gsi() instead.
Signed-off-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'arch/mips/include/asm/mach-netlogic/multi-node.h')
0 files changed, 0 insertions, 0 deletions