]> git.karo-electronics.de Git - linux-beck.git/commit
HID: cp2112: add IRQ chip handling
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Mon, 21 Nov 2016 11:07:54 +0000 (12:07 +0100)
committerJiri Kosina <jkosina@suse.cz>
Mon, 28 Nov 2016 13:45:15 +0000 (14:45 +0100)
commit13de9cca514ed63604263cad87ca8cb36e9b6489
tree07d142f2ddef5189091102f869179889da273817
parente2b6535d47ce223e327de053b804d2e572a98bbc
HID: cp2112: add IRQ chip handling

The GPIO part doesn't provide interrupts when GPIO are toggled.
So use a polling mechanism if someone requests a GPIO as an IRQ.

Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-cp2112.c