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(-) -- 2.24.1