mbox series

[0/5] USB: serial: ir-usb fixes and cleanups

Message ID 20200122101530.29176-1-johan@kernel.org (mailing list archive)
Headers show
Series USB: serial: ir-usb fixes and cleanups | expand

Message

Johan Hovold Jan. 22, 2020, 10:15 a.m. UTC
This series fixes a possible NULL-pointer dereference due to a missing
endpoint sanity check, as well as two long-standing regressions in the
ir-usb driver.

The last two patches clean up the set_termios() and switches to rely on
the relatively new feature to let USB serial core to verify the required
endpoints.

Johan


Johan Hovold (5):
  USB: serial: ir-usb: add missing endpoint sanity check
  USB: serial: ir-usb: fix link-speed handling
  USB: serial: ir-usb: fix IrLAP framing
  USB: serial: ir-usb: make set_termios synchronous
  USB: serial: ir-usb: simplify endpoint check

 drivers/usb/serial/ir-usb.c | 185 ++++++++++++++++++++++--------------
 include/linux/usb/irda.h    |  13 ++-
 2 files changed, 126 insertions(+), 72 deletions(-)