summaryrefslogtreecommitdiff
path: root/net/unix/af_unix.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2020-01-22 13:15:29 +0300
committerJohan Hovold <johan@kernel.org>2020-01-23 11:11:30 +0300
commite7542bc382f8ca2eae25adaa444044513e474925 (patch)
tree9d6362917e75469ca78632d7a196c162b7a647b4 /net/unix/af_unix.c
parent38c0d5bdf4973f9f5a888166e9d3e9ed0d32057a (diff)
downloadlinux-e7542bc382f8ca2eae25adaa444044513e474925.tar.xz
USB: serial: ir-usb: make set_termios synchronous
Use a synchronous usb_bulk_msg() when switching link speed in set_termios(). This way we do not need to keep track of outstanding URBs in order to be able to stop them at close. Note that there's no need to set URB_ZERO_PACKET as the one-byte transfer will always be short. Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions