]> git.baikalelectronics.ru Git - kernel.git/commit
USB serial: update the console driver
authorAlan Stern <stern@rowland.harvard.edu>
Fri, 4 Sep 2009 19:29:59 +0000 (15:29 -0400)
committerLive-CD User <linux@linux.site>
Sat, 19 Sep 2009 20:13:42 +0000 (13:13 -0700)
commit9e1d3df8778d0c2317af01a635a40777910772f5
tree3a314bb3cd2bbe77fecdb38d52428fa0371c13f9
parente9566feedbd552b81eafbfe309123ab2d01c45e3
USB serial: update the console driver

This patch (as1292) modifies the USB serial console driver, to make it
compatible with the recent changes to the USB serial core.  The most
important change is that serial->disc_mutex now has to be unlocked
following a successful call to usb_serial_get_by_index().

Other less notable changes include:

Use the requested port number instead of port 0 always.

Prevent the serial device from being autosuspended.

Use the ASYNCB_INITIALIZED flag bit to indicate when the
port hardware has been initialized.

In spite of these changes, there's no question that the USB serial
console code is still a big hack.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/console.c