diff options
| author | David Thompson <[email protected]> | 2025-07-28 14:46:19 +0000 |
|---|---|---|
| committer | Bartosz Golaszewski <[email protected]> | 2025-08-03 19:04:25 +0000 |
| commit | 63c7bc53a35e785accdc2ceab8f72d94501931ab (patch) | |
| tree | 7f7a537dd8cac35dc113d544db43200cbf75472c /drivers/fpga/fpga-bridge.c | |
| parent | Revert "gpio: pxa: Make irq_chip immutable" (diff) | |
| download | kernel-63c7bc53a35e785accdc2ceab8f72d94501931ab.tar.gz kernel-63c7bc53a35e785accdc2ceab8f72d94501931ab.zip | |
gpio: mlxbf2: use platform_get_irq_optional()
The gpio-mlxbf2 driver interfaces with four GPIO controllers,
device instances 0-3. There are two IRQ resources shared between
the four controllers, and they are found in the ACPI table for
instances 0 and 3. The driver should not use platform_get_irq(),
otherwise this error is logged when probing instances 1 and 2:
mlxbf2_gpio MLNXBF22:01: error -ENXIO: IRQ index 0 not found
Fixes: 2b725265cb08 ("gpio: mlxbf2: Introduce IRQ support")
Cc: [email protected]
Signed-off-by: David Thompson <[email protected]>
Reviewed-by: Shravan Kumar Ramani <[email protected]>
Reviewed-by: Mika Westerberg <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions
