diff options
author | Dmitry Torokhov <[email protected]> | 2018-08-09 16:08:15 -0700 |
---|---|---|
committer | Dmitry Torokhov <[email protected]> | 2019-06-22 23:55:20 -0700 |
commit | 4873586278258453bed94ffc04bfdc439197e86b (patch) | |
tree | 310c0e17610cc3b2ffd07b5081b63386fc0bac39 /net/lapb/lapb_timer.c | |
parent | 4f99de6d9d57d29b10f132490034aa21b7ba184f (diff) |
Input: iforce - use DMA-safe buffer when getting IDs from USB
When working with USB devices we need to use DMA-safe buffers,
and iforce->edata is not one. Let's rework the code to allocate
temporary buffer (iforce_get_id() is called only during initialization
so there is no reason to have permanent buffer) and use it. While at it,
let's utilize usb_control_msg() API which simplifies code.
Tested-by: Tim Schumacher <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions