HID: rmi: make transfer buffers DMA capable
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Mon, 21 Nov 2016 10:48:42 +0000 (11:48 +0100)
committerJiri Kosina <jkosina@suse.cz>
Wed, 23 Nov 2016 16:43:25 +0000 (17:43 +0100)
commit6dab07df555b652d8d989348b2ce04498d7f9a70
treeb5328936be55aade3fbac0fc484313a522b6fd57
parentb7a87ad6775f3ed69e6573b91ed3c2f1338884ad
HID: rmi: make transfer buffers DMA capable

Kernel v4.9 strictly enforces DMA capable buffers, so we need to remove
buffers allocated on the stack.

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