1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-19 14:08:17 +02:00
openwrt/package/kernel/gpio-button-hotplug
Tim Harvey 23845fa10b gpio-button-hotplug: do not error on interrupt attached keys
The Linux gpio-keys driver bindings allow for GPIO attached or interrupt
attached keys. Currently if an interrupt attached key is encountered
gpio_keys_button_probe() will fail due to not being able to get a gpio
descriptor:
gpio-keys: probe of gpio-keys failed with error -2

Skip the failure in the case of interrupt attached keys to resolve this.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
2023-05-18 17:11:43 +02:00
..
src gpio-button-hotplug: do not error on interrupt attached keys 2023-05-18 17:11:43 +02:00
Makefile kernel: Make use of KERNEL_MAKE 2022-12-17 20:12:31 +01:00