aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/class/cdc-acm.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <[email protected]>2020-09-23 13:43:48 +0000
committerGreg Kroah-Hartman <[email protected]>2020-09-25 14:33:59 +0000
commitdbb29de70ae73a5737506d6cfe802bee81557ae7 (patch)
treef2f3d2c2c8981b608998a0325932930fc286b315 /drivers/usb/class/cdc-acm.c
parentsound: hiface: move to use usb_control_msg_send() (diff)
downloadkernel-dbb29de70ae73a5737506d6cfe802bee81557ae7.tar.gz
kernel-dbb29de70ae73a5737506d6cfe802bee81557ae7.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. v2: changed API of use usb_control_msg_send() and usb_control_msg_recv() Cc: Marcel Holtmann <[email protected]> Cc: Johan Hedberg <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/class/cdc-acm.c')
0 files changed, 0 insertions, 0 deletions