summaryrefslogtreecommitdiff
path: root/drivers/hid/hid-lenovo.c
diff options
context:
space:
mode:
authorBenjamin Tissoires <benjamin.tissoires@redhat.com>2016-11-21 10:48:39 (GMT)
committerJiri Kosina <jkosina@suse.cz>2016-11-23 16:38:12 (GMT)
commit1ffb3c40ffb5c51bc39736409b11816c4260218e (patch)
tree68eff7671b986b67cbcbab2b5c9f7739be0228dc /drivers/hid/hid-lenovo.c
parent4c4480aad0d8eaf0d52b6f2c8c5dfbe0531cbbea (diff)
downloadlinux-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