diff options
author | Himadri Pandya <[email protected]> | 2021-08-02 02:01:22 +0530 |
---|---|---|
committer | Johan Hovold <[email protected]> | 2021-09-21 14:53:15 +0200 |
commit | 71b20b34afc2e709f3bbce516fbfdd9f042b607a (patch) | |
tree | ccd6224a077555ef74a52b31ea4f49a5bcdbb37e /drivers/usb/cdns3/cdns3-trace.c | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[ johan: amend commit message ]
Signed-off-by: Johan Hovold <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions