]> Git Repo - linux.git/commit
usb-serial: add missing tests and debug lines
authorAlan Stern <[email protected]>
Tue, 1 Sep 2009 15:39:51 +0000 (11:39 -0400)
committerLive-CD User <[email protected]>
Sat, 19 Sep 2009 20:13:41 +0000 (13:13 -0700)
commitff8324df1187b7280e507c976777df76c73a1ef1
treea4b16a4a422f3fca19eb38eb1b46056a1c50392d
parent74556123e034c8337b69a3ebac2f3a5fc0a97032
usb-serial: add missing tests and debug lines

This patch (as1290) adds some missing tests.  serial_down() isn't
supposed to do anything if the hardware hasn't been initialized, and
serial_close() isn't supposed to do anything if the tty has gotten a
hangup (because serial_hangup() takes care of shutting down the
hardware).

The patch also updates and adds a few debugging lines.

Signed-off-by: Alan Stern <[email protected]>
Cc: stable <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/usb/serial/usb-serial.c
This page took 0.051691 seconds and 4 git commands to generate.