Re: [PATCH 2/5] usb: gadget: u_serial: reimplement console support

2019-02-27 Thread Greg Kroah-Hartman
On Wed, Feb 27, 2019 at 08:48:57AM +0100, Michał Mirosław wrote: > Rewrite console support to fix a few shortcomings of the old code > preventing its use with multiple ports. This removes some duplicated > code and replaces a custom kthread with simpler workqueue item. > > Only port ttyGS0 gets to

[PATCH 2/5] usb: gadget: u_serial: reimplement console support

2019-02-26 Thread Michał Mirosław
Rewrite console support to fix a few shortcomings of the old code preventing its use with multiple ports. This removes some duplicated code and replaces a custom kthread with simpler workqueue item. Only port ttyGS0 gets to be a console for now. Signed-off-by: Michał Mirosław --- drivers/usb/ga