diff options
| author | Greg Kroah-Hartman <[email protected]> | 2020-09-14 17:37:55 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-09-16 11:02:58 +0200 |
| commit | e9b20f0fe17ab06c3b55153046209987749daa48 (patch) | |
| tree | 63c9306ff04a2b38a8838f63a4fdcebe3c525abb /tools/perf/scripts/python | |
| parent | 119ae38a5cdfbefdf926b34fbf65cd60dc82c95e (diff) | |
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 <[email protected]>
Cc: Johan Hedberg <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions