Re: [PATCH] usb-serial: Fix usb serial console open/closeregression
From: Alan Cox
Date: Mon Mar 08 2010 - 12:41:50 EST
> This is a little unfortunate. It would be better to prevent
> tty_port_shutdown() from clearing ASYNCB_INITIALIZED in the first
> place. The problem is that the tty core doesn't know when the port is
> being used as a console. There ought to be a way to tell it.
Agreed - there should probably be a port.console flag to push it up into
the tty_port logic as well.
Alan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/