diff options
author | 2020-09-27 15:49:08 +0300 | |
---|---|---|
committer | 2020-10-02 11:30:10 +0200 | |
commit | fb58cf4f2881eeb21b2a5997871a1678772b746d (patch) | |
tree | 7e57fb84abb80d3034dd4c69d80f94c521723016 /scripts/bpf_helpers_doc.py | |
parent | net: rtl8150: Use the new usb control message API. (diff) | |
download | linux-dev-fb58cf4f2881eeb21b2a5997871a1678772b746d.tar.xz linux-dev-fb58cf4f2881eeb21b2a5997871a1678772b746d.zip |
net: pegasus: Use the new usb control message API.
The old usb_control_msg() let the caller handle the error and also did not
account for partial reads. Since these are now considered harmful, move the
driver over to usb_control_msg_recv/send() calls.
Added small note about why set_registers() can't be used to substitute
set_register().
Signed-off-by: Petko Manolov <petko.manolov@konsulko.com>
Acked-by: David S. Miller <davem@davemloft.net>
Link: https://lore.kernel.org/r/20200927124909.16380-2-petko.manolov@konsulko.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/bpf_helpers_doc.py')
0 files changed, 0 insertions, 0 deletions