aboutsummaryrefslogtreecommitdiff
path: root/sound/usb
diff options
context:
space:
mode:
authorGravatar Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2020-09-14 17:37:55 +0200
committerGravatar Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2020-09-16 11:02:58 +0200
commite9b20f0fe17ab06c3b55153046209987749daa48 (patch)
tree63c9306ff04a2b38a8838f63a4fdcebe3c525abb /sound/usb
parentsound: hiface: move to use usb_control_msg_send() (diff)
downloadlinux-e9b20f0fe17ab06c3b55153046209987749daa48.tar.gz
linux-e9b20f0fe17ab06c3b55153046209987749daa48.tar.bz2
linux-e9b20f0fe17ab06c3b55153046209987749daa48.zip
Bluetooth: ath3k: use usb_control_msg_send() and usb_control_msg_recv()
The usb_control_msg_send() and usb_control_msg_recv() calls can return an error if a "short" write/read happens, and they can handle data off of the stack, so move the driver over to using those calls instead, saving some logic when dynamically allocating memory. Cc: Marcel Holtmann <marcel@holtmann.org> Cc: Johan Hedberg <johan.hedberg@gmail.com> Link: https://lore.kernel.org/r/20200914153756.3412156-11-gregkh@linuxfoundation.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/usb')
0 files changed, 0 insertions, 0 deletions