/* Shut down a USB serial port unless it is the console. We never shut down the console hardware as it will always be in use. Serialized against activate by the tport mutex and kept to matching open/close pairs of calls by the ASYNCB_INITIALIZED flag.  */
static void serial_down(struct tty_port *tport)
/* Shut down a USB serial port unless it is the console. We never shut down the console hardware as it will always be in use. Serialized against activate by the tport mutex and kept to matching open/close pairs of calls by the ASYNCB_INITIALIZED flag.  */
static void serial_down(struct tty_port *tport)
{
	struct usb_serial_port *port =
		container_of(tport, struct usb_serial_port, port);
	struct usb_serial_driver *drv = port->serial->type;
	if (port->console)
		return;
	if (drv->close)
		drv->close(port);
}