diff options
| author | David Thompson <[email protected]> | 2025-08-11 17:50:45 +0000 |
|---|---|---|
| committer | Bartosz Golaszewski <[email protected]> | 2025-08-12 13:40:28 +0000 |
| commit | 810bd9066fb1871b8a9528f31f2fdbf2a8b73bf2 (patch) | |
| tree | 9388321c92d077b4906fbffe51d535904cbff8b3 /drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c | |
| parent | Revert "gpio: mlxbf3: only get IRQ for device instance 0" (diff) | |
| download | kernel-810bd9066fb1871b8a9528f31f2fdbf2a8b73bf2.tar.gz kernel-810bd9066fb1871b8a9528f31f2fdbf2a8b73bf2.zip | |
gpio: mlxbf3: use platform_get_irq_optional()
The gpio-mlxbf3 driver interfaces with two GPIO controllers,
device instance 0 and 1. There is a single IRQ resource shared
between the two controllers, and it is found in the ACPI table for
device instance 0. The driver should not use platform_get_irq(),
otherwise this error is logged when probing instance 1:
mlxbf3_gpio MLNXBF33:01: error -ENXIO: IRQ index 0 not found
Cc: [email protected]
Fixes: cd33f216d241 ("gpio: mlxbf3: Add gpio driver support")
Signed-off-by: David Thompson <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Link: https://lore.kernel.org/r/ce70b98a201ce82b9df9aa80ac7a5eeaa2268e52.1754928650.git.davthompson@nvidia.com
Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_mes.c')
0 files changed, 0 insertions, 0 deletions
