aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-trace.c
diff options
context:
space:
mode:
authorHimadri Pandya <[email protected]>2021-08-02 02:01:20 +0530
committerJohan Hovold <[email protected]>2021-09-21 14:15:52 +0200
commita738859264981ae50986471ccd9c3bb096463c4f (patch)
tree41b7f9bd26f705c280d505d7ba1f3ea6e35bb24e /drivers/usb/cdns3/cdns3-trace.c
parent0d027eea8988a9d9ec2ca4df150b37d82e9e6623 (diff)
USB: serial: ftdi_sio: use usb_control_msg_recv()
usb_control_msg_recv() nicely wraps usb_control_msg() and removes the compulsion of using DMA buffers for USB messages. It also includes proper error check for possible short read. So use the wrapper where appropriate and remove DMA buffers from the callers. 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