Searched hist:dfad2b17935d70d7dc3830c4986344b3f2669c62 (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/input/joystick/iforce/ |
H A D | iforce-serio.c | diff dfad2b17935d70d7dc3830c4986344b3f2669c62 Fri Aug 10 22:44:52 CEST 2018 Dmitry Torokhov <dmitry.torokhov@gmail.com> Input: iforce - use DMA-safe buffores for USB transfers
USB transport has to use cache line-aligned buffers for transfers to avoid DMA issues; serio doe snot have such restrictions. Let's move "data_in" buffer from main driver structure into transport modules and make sure USB requirements are respected.
Tested-by: Tim Schumacher <timschumi@gmx.de> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
|
H A D | iforce.h | diff dfad2b17935d70d7dc3830c4986344b3f2669c62 Fri Aug 10 22:44:52 CEST 2018 Dmitry Torokhov <dmitry.torokhov@gmail.com> Input: iforce - use DMA-safe buffores for USB transfers
USB transport has to use cache line-aligned buffers for transfers to avoid DMA issues; serio doe snot have such restrictions. Let's move "data_in" buffer from main driver structure into transport modules and make sure USB requirements are respected.
Tested-by: Tim Schumacher <timschumi@gmx.de> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
|
H A D | iforce-usb.c | diff dfad2b17935d70d7dc3830c4986344b3f2669c62 Fri Aug 10 22:44:52 CEST 2018 Dmitry Torokhov <dmitry.torokhov@gmail.com> Input: iforce - use DMA-safe buffores for USB transfers
USB transport has to use cache line-aligned buffers for transfers to avoid DMA issues; serio doe snot have such restrictions. Let's move "data_in" buffer from main driver structure into transport modules and make sure USB requirements are respected.
Tested-by: Tim Schumacher <timschumi@gmx.de> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
|