Skip to contentSkip to conversation

USB: serial: use tty_port_register_device()

DISCUSSION Johan Hovold 1 participant 1 message May 17, 2018 USB

lore
Share & tools
lore
#0 lore raw
Quoted 11 lines · Greg Kroah-Hartman
Quoted 8 lines · Johan Hovold

We already have the tty port when probing a usb-serial port so use tty_port_register_device() directly instead of tty_port_install() later to set up the port link.

This is a step towards enabling serdev for usb-serial (but we need to determine how to handle hotplugging first).

Thanks for reviewing. Now applied.

Johan
---
To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html