diff options
author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2016-11-21 10:48:39 (GMT) |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2016-11-23 16:38:12 (GMT) |
commit | 1ffb3c40ffb5c51bc39736409b11816c4260218e (patch) | |
tree | 68eff7671b986b67cbcbab2b5c9f7739be0228dc /drivers/hid/hid-lenovo.c | |
parent | 4c4480aad0d8eaf0d52b6f2c8c5dfbe0531cbbea (diff) | |
download | linux-1ffb3c40ffb5c51bc39736409b11816c4260218e.tar.xz |
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-lenovo.c')
0 files changed, 0 insertions, 0 deletions