diff options
author | Danny Kaehn <kaehndan@gmail.com> | 2023-02-10 11:00:44 -0600 |
---|---|---|
committer | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2023-02-23 16:45:38 +0100 |
commit | 37f5b858a66543b2b67c0288280af623985abc29 (patch) | |
tree | 841646ab8c144b01719f29d616d5f5c81da1066d /include/linux/hid.h | |
parent | 22ef7d7be4dc071712ddf0ae09df6ee39b4901a0 (diff) | |
download | linux-37f5b858a66543b2b67c0288280af623985abc29.tar.gz linux-37f5b858a66543b2b67c0288280af623985abc29.tar.bz2 linux-37f5b858a66543b2b67c0288280af623985abc29.zip |
HID: cp2112: Fix driver not registering GPIO IRQ chip as threaded
The CP2112 generates interrupts from a polling routine on a thread,
and can only support threaded interrupts. This patch configures the
gpiochip irq chip with this flag, disallowing consumers to request
a hard IRQ from this driver, which resulted in a segfault previously.
Signed-off-by: Danny Kaehn <kaehndan@gmail.com>
Link: https://lore.kernel.org/r/20230210170044.11835-1-kaehndan@gmail.com
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Diffstat (limited to 'include/linux/hid.h')
0 files changed, 0 insertions, 0 deletions