]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
Input: iforce - use GFP_KERNEL in iforce_get_id_packet()
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>
Wed, 4 Jul 2018 15:01:06 +0000 (15:01 +0000)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 4 Jul 2018 16:08:59 +0000 (16:08 +0000)
commit381a2c6fb9c5e7d31e2caae48ced6e6e2273e5f3
tree1b9edb8ebace4fc06480766ec4bed04f5fcf02cf
parentf9e02d80416933b0e07d57efecbe309bdea9c6c4
Input: iforce - use GFP_KERNEL in iforce_get_id_packet()

iforce_get_id_packet() invokes wait_event_interruptible_timeout() which
means it has to be in non-atomic context at that point, thus we can use
GFP_KERNEL instead of GFP_ATOMIC.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/joystick/iforce/iforce-packets.c