]> git.karo-electronics.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 5 Oct 2009 16:32:43 +0000 (09:32 -0700)
commit222a7a9802c5ce73dfa3931e5cb585e44544cb6f
tree7a782779c3f8bb3fcf173d3e2091474cb8610267
parente637e77245046fbb1d812543ced77e288614c66b
USB serial: update the console driver

commit 7bd032dc2793afcbaf4a350056768da84cdbd89b upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/console.c