diff options
author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2016-11-21 11:48:39 +0100 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2016-11-23 17:38:12 +0100 |
commit | 1ffb3c40ffb5c51bc39736409b11816c4260218e (patch) | |
tree | 68eff7671b986b67cbcbab2b5c9f7739be0228dc /drivers/hid/hid-lg.c | |
parent | HID: sensor: fix attributes in HID sensor interface (diff) | |
download | linux-1ffb3c40ffb5c51bc39736409b11816c4260218e.tar.xz linux-1ffb3c40ffb5c51bc39736409b11816c4260218e.zip |
HID: cp2112: make transfer buffers DMA capable
Kernel v4.9 strictly enforces DMA capable buffers, so we need to remove
buffers allocated on the stack.
Use a spinlock to prevent concurrent accesses to the buffer.
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-lg.c')
0 files changed, 0 insertions, 0 deletions