diff options
| author | Greg Kroah-Hartman <[email protected]> | 2020-09-14 17:37:50 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-09-16 11:02:45 +0200 |
| commit | be40c366416bf6ff74b25fd02e38cb6eaba497d1 (patch) | |
| tree | 96bfb01523a543d603929b51afac1c9198eab89f /tools/perf/scripts/python/bin | |
| parent | d6a499249543356002a1efbb26254c7272e62f4c (diff) | |
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 <[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/bin')
0 files changed, 0 insertions, 0 deletions