summaryrefslogtreecommitdiff
path: root/lib/lru_cache.c
diff options
context:
space:
mode:
authorHimadri Pandya <himadrispandya@gmail.com>2021-08-01 23:31:20 +0300
committerJohan Hovold <johan@kernel.org>2021-09-21 15:15:52 +0300
commita738859264981ae50986471ccd9c3bb096463c4f (patch)
tree41b7f9bd26f705c280d505d7ba1f3ea6e35bb24e /lib/lru_cache.c
parent0d027eea8988a9d9ec2ca4df150b37d82e9e6623 (diff)
downloadlinux-a738859264981ae50986471ccd9c3bb096463c4f.tar.xz
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 <himadrispandya@gmail.com> Link: https://lore.kernel.org/r/20210801203122.3515-5-himadrispandya@gmail.com [ johan: amend commit message ] Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'lib/lru_cache.c')
0 files changed, 0 insertions, 0 deletions