summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-09-14 17:37:50 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-09-16 11:02:45 +0200
commitbe40c366416bf6ff74b25fd02e38cb6eaba497d1 (patch)
tree96bfb01523a543d603929b51afac1c9198eab89f /sound
parentUSB: core: hub.c: use usb_control_msg_send() in a few places (diff)
downloadlinux-be40c366416bf6ff74b25fd02e38cb6eaba497d1.tar.xz
linux-be40c366416bf6ff74b25fd02e38cb6eaba497d1.zip
USB: legousbtower: use usb_control_msg_recv()
The usb_control_msg_recv() function can handle data on the stack, as well as properly detecting short reads, so move to use that function instead of the older usb_control_msg() call. This ends up removing a lot of extra lines in the driver. Cc: Juergen Stuber <starblue@users.sourceforge.net> Link: https://lore.kernel.org/r/20200914153756.3412156-6-gregkh@linuxfoundation.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions