Re: [PATCH] USB: serial: use tty_port_register_device()

2018-05-17 Thread Johan Hovold
On Wed, May 16, 2018 at 11:47:39AM +0200, Greg Kroah-Hartman wrote: > On Wed, May 16, 2018 at 11:42:07AM +0200, Johan Hovold wrote: > > 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

Re: [PATCH] USB: serial: use tty_port_register_device()

2018-05-16 Thread Greg Kroah-Hartman
On Wed, May 16, 2018 at 11:42:07AM +0200, Johan Hovold wrote: > 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

[PATCH] USB: serial: use tty_port_register_device()

2018-05-16 Thread 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). Signed-off-by: