summaryrefslogtreecommitdiffstats
path: root/include/sound/simple_card_utils.h
diff options
context:
space:
mode:
authorBenjamin Tissoires2019-08-12 18:04:44 +0200
committerJiri Kosina2019-08-19 14:13:00 +0200
commit2d05dba2b25ecb0f8fc3a0b4eb2232da6454a47b (patch)
treedd6628d1bdd38a416ad038de0796404e02827c94 /include/sound/simple_card_utils.h
parentHID: intel-ish-hid: ipc: add EHL device id (diff)
downloadkernel-qcow2-linux-2d05dba2b25ecb0f8fc3a0b4eb2232da6454a47b.tar.gz
kernel-qcow2-linux-2d05dba2b25ecb0f8fc3a0b4eb2232da6454a47b.tar.xz
kernel-qcow2-linux-2d05dba2b25ecb0f8fc3a0b4eb2232da6454a47b.zip
HID: cp2112: prevent sleeping function called from invalid context
When calling request_threaded_irq() with a CP2112, the function cp2112_gpio_irq_startup() is called in a IRQ context. Therefore we can not sleep, and we can not call cp2112_gpio_direction_input() there. Move the call to cp2112_gpio_direction_input() earlier to have a working driver. Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'include/sound/simple_card_utils.h')
0 files changed, 0 insertions, 0 deletions