9
0
Fork 0

USB: gadget: usbserial: Always enable console

When a USB console is registered on the command line it doesn't make
much sense to disable it in the core. Always enable the USB console
to make it usable without additional commands when registered.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2014-07-17 10:37:14 +02:00
parent 68df328668
commit d9e1f9b09f
1 changed files with 2 additions and 0 deletions

View File

@ -535,6 +535,8 @@ int gserial_connect(struct gserial *gser, u8 port_num)
if (status)
goto fail_out;
dev_set_param(&cdev->class_dev, "active", "ioe");
/* REVISIT if waiting on "carrier detect", signal. */
/* if it's already open, start I/O ... and notify the serial