io_edgeport: Fix various bogus returns to the tty layer
authorAlan Cox <alan@redhat.com>
Tue, 22 Jul 2008 10:16:42 +0000 (11:16 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 22 Jul 2008 20:03:27 +0000 (13:03 -0700)
commitd76f2f4462bbb2cf7bc83a35c5278177aa627e89
treebeac09e41cf05235676752dac220d4172bb3ec66
parent03f0dbf74c7a117c270e63d62d5e4927af6f295b
io_edgeport: Fix various bogus returns to the tty layer

The edgeport reports negative error codes to functions that do not
expect them. This can cause ports to jam forever

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/usb/serial/io_edgeport.c