From: Alan Stern Date: Tue, 1 Sep 2009 15:39:51 +0000 (-0400) Subject: usb-serial: add missing tests and debug lines X-Git-Tag: v2.6.32-rc1~627^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff8324df1187b7280e507c976777df76c73a1ef1;p=pandora-kernel.git 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 Cc: stable Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed