1
1
openwrt/package
Rosen Penev fb1c7d7892
gpio-button-hotplug: accept GPIO buttons with explicit IRQs
gpio-button-hotplug skips buttons with button->irq set because it cannot
handle true interrupt-only gpio-keys descriptions. That check also skips
valid GPIO-backed buttons that provide a separate interrupt specifier, such
as the Meraki MX60 reset button.

Try to acquire the GPIO descriptor before deciding that an explicit-IRQ
button is unsupported. Continue to skip true interrupt-only buttons, and
make the IRQ setup and teardown paths ignore skipped entries.

Tested on: Cisco Meraki MX60. Reset button now works.

Fixes: 23845fa10b ("gpio-button-hotplug: do not error on interrupt attached keys")
Assisted-by: Codex:GPT-5.5
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/23382
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
2026-05-25 10:16:49 +02:00
..
base-files base-files: add options to disable default button handling 2026-05-20 00:02:31 +02:00
boot mediatek: filogic: add support for AlwayLink M01K43 2026-05-25 02:34:03 +02:00
devel package: binutils: deduplicate ld 2026-04-18 19:34:21 +02:00
firmware rtl826x-firmware: depend on kmod-phy-realtek 2026-05-22 20:53:04 +01:00
kernel gpio-button-hotplug: accept GPIO buttons with explicit IRQs 2026-05-25 10:16:49 +02:00
libs libubox: update to Git HEAD (2026-05-23) 2026-05-23 19:33:16 +02:00
network wifi-scripts: ucode: fix null dereference for 6GHz-only radios 2026-05-24 13:14:17 +02:00
system ubus: update to Git HEAD (2026-05-23) 2026-05-23 19:32:01 +02:00
utils util-linux: update to 2.42.1 2026-05-19 23:39:29 +02:00
Makefile build: add CycloneDX SBOM processing to apk 2026-05-17 12:21:09 +02:00