diff options
author | Paulius Zaleckas <paulius.zaleckas@teltonika.lt> | 2008-04-10 07:20:08 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2008-04-25 00:16:49 -0400 |
commit | 97af0a911bfb1e798c395c6ebabb4731f821736f (patch) | |
tree | 92f297032002f5ccc1b9b030426893c25ac314a6 | |
parent | 21da84a89312dd8d014ca3352d1ab5c2279ec548 (diff) |
USB: oti6858: fix TCFLSH ioctl handling
Removes unimplemented TCFLSH handling from oti6858, because it was
preventing TCFLSH handling by upper layer (line discipline) drivers (see
drivers/char/tty_io.c line 3450).
Signed-off-by: Paulius Zaleckas <paulius.zaleckas@teltonika.lt>
Acked-by: Alan Cox <alan@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
-rw-r--r-- | drivers/usb/serial/oti6858.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/usb/serial/oti6858.c b/drivers/usb/serial/oti6858.c index a3847d6c946e..8acc907a3181 100644 --- a/drivers/usb/serial/oti6858.c +++ b/drivers/usb/serial/oti6858.c | |||
@@ -814,10 +814,6 @@ static int oti6858_ioctl(struct usb_serial_port *port, struct file *file, | |||
814 | __FUNCTION__, port->number, cmd, arg); | 814 | __FUNCTION__, port->number, cmd, arg); |
815 | 815 | ||
816 | switch (cmd) { | 816 | switch (cmd) { |
817 | case TCFLSH: | ||
818 | /* FIXME */ | ||
819 | return 0; | ||
820 | |||
821 | case TIOCMBIS: | 817 | case TIOCMBIS: |
822 | if (copy_from_user(&x, user_arg, sizeof(x))) | 818 | if (copy_from_user(&x, user_arg, sizeof(x))) |
823 | return -EFAULT; | 819 | return -EFAULT; |