diff options
author | Himadri Pandya <himadrispandya@gmail.com> | 2021-08-02 02:01:22 +0530 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2021-09-21 14:53:15 +0200 |
commit | 71b20b34afc2e709f3bbce516fbfdd9f042b607a (patch) | |
tree | ccd6224a077555ef74a52b31ea4f49a5bcdbb37e /tools/perf/scripts/python/mem-phys-addr.py | |
parent | c9129371cb3d4847ce20a6bcb9708b14eeee665b (diff) |
USB: serial: kl5kusb105: use usb_control_msg_recv() and usb_control_msg_send()
The wrappers usb_control_msg_send/recv eliminate the need of manually
allocating DMA buffers for USB messages. They also treat short reads as
an error. Hence use the wrappers and remove DMA allocations.
Note that short reads are now logged as -EREMOTEIO instead of the amount
of data read.
Signed-off-by: Himadri Pandya <himadrispandya@gmail.com>
Link: https://lore.kernel.org/r/20210801203122.3515-7-himadrispandya@gmail.com
[ johan: amend commit message ]
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions