Commit 97af0a91 authored by Paulius Zaleckas's avatar Paulius Zaleckas Committed by Greg Kroah-Hartman

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: default avatarPaulius Zaleckas <paulius.zaleckas@teltonika.lt>
Acked-by: default avatarAlan Cox <alan@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 21da84a8
...@@ -814,10 +814,6 @@ static int oti6858_ioctl(struct usb_serial_port *port, struct file *file, ...@@ -814,10 +814,6 @@ static int oti6858_ioctl(struct usb_serial_port *port, struct file *file,
__FUNCTION__, port->number, cmd, arg); __FUNCTION__, port->number, cmd, arg);
switch (cmd) { switch (cmd) {
case TCFLSH:
/* FIXME */
return 0;
case TIOCMBIS: case TIOCMBIS:
if (copy_from_user(&x, user_arg, sizeof(x))) if (copy_from_user(&x, user_arg, sizeof(x)))
return -EFAULT; return -EFAULT;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment