From: Flavio Leitner Date: Tue, 19 Apr 2005 00:39:31 +0000 (-0700) Subject: [PATCH] pl2303 - unplug device. X-Git-Tag: v2.6.12-rc3~26^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6fdd8e8e33730a2abc886113bd0b6c4343f63cc9;p=pandora-kernel.git [PATCH] pl2303 - unplug device. It's possible to unplug usb device and do tiocmset() and tiocmget() without valid interface in pl2303 module. The patch below check this and return -ENODEV if interface was removed. From: Flavio Leitner Signed-off-by: Greg Kroah-Hartman diff -purN linux-05-04-11/drivers/usb/serial/pl2303.c linux-05-04-11.usb/drivers/usb/serial/pl2303.c --- Reading git-diff-tree failed