This series makes it possible to have more control over console using usb serial gadget ports. This can be useful when you need more than one USB console or are configuring multiple serial port function using configfs. The patches are against usb-next branch. Michał Mirosław (5): usb: gadget: u_serial: add missing port entry locking usb: gadget: u_serial: reimplement console support usb: gadget: u_serial: make OBEX port not a console usb: gadget: u_serial: allow more console gadget ports usb: gadget: u_serial: diagnose missed console messages drivers/usb/gadget/function/f_acm.c | 23 +- drivers/usb/gadget/function/f_obex.c | 2 +- drivers/usb/gadget/function/f_serial.c | 23 +- drivers/usb/gadget/function/u_serial.c | 411 ++++++++++++++----------- drivers/usb/gadget/function/u_serial.h | 9 +- drivers/usb/gadget/legacy/dbgp.c | 2 +- 6 files changed, 278 insertions(+), 192 deletions(-) -- 2.20.1