HID: magicmouse: make transfer buffers DMA capable
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>
Mon, 21 Nov 2016 10:48:41 +0000 (11:48 +0100)
committerJiri Kosina <jkosina@suse.cz>
Wed, 23 Nov 2016 16:43:25 +0000 (17:43 +0100)
commitb7a87ad6775f3ed69e6573b91ed3c2f1338884ad
tree8158cb5d2761a803edce2f77fb8eef1d6a5878e2
parent061232f0d47fa10103f3efa3e890f002a930d902
HID: magicmouse: 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-magicmouse.c