aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/drivers/usb/cdns3/cdns3-imx.c
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2020-01-22 11:15:29 +0100
committerJohan Hovold <johan@kernel.org>2020-01-23 09:11:30 +0100
commite7542bc382f8ca2eae25adaa444044513e474925 (patch)
tree9d6362917e75469ca78632d7a196c162b7a647b4 /drivers/usb/cdns3/cdns3-imx.c
parentUSB: serial: ir-usb: fix IrLAP framing (diff)
downloadwireguard-linux-e7542bc382f8ca2eae25adaa444044513e474925.tar.xz
wireguard-linux-e7542bc382f8ca2eae25adaa444044513e474925.zip
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 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions