diff options
author | Greg Kroah-Hartman <[email protected]> | 2020-09-23 15:43:46 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-09-25 16:33:59 +0200 |
commit | 6d2d427e3b1266c3eab80cdb961c21b9f4fcdadf (patch) | |
tree | ad734370c7d7d03346256d4d3457ea169056ea3d /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | d9f0d82f06c6775b3adb9e4925e27377bc87af54 (diff) |
sound: line6: move to 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: API change of use usb_control_msg_send() and usb_control_msg_recv()
Cc: Jaroslav Kysela <[email protected]>
Cc: Vasily Khoruzhick <[email protected]>
Reviewed-by: Takashi Iwai <[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 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions