commit | 1ffb3c40ffb5c51bc39736409b11816c4260218e | [log] [tgz] |
---|---|---|
author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | Mon Nov 21 11:48:39 2016 +0100 |
committer | Jiri Kosina <jkosina@suse.cz> | Wed Nov 23 17:38:12 2016 +0100 |
tree | 68eff7671b986b67cbcbab2b5c9f7739be0228dc | |
parent | 4c4480aad0d8eaf0d52b6f2c8c5dfbe0531cbbea [diff] |
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>