From: Paulius Zaleckas Date: Thu, 10 Apr 2008 11:20:08 +0000 (+0300) Subject: USB: oti6858: fix TCFLSH ioctl handling X-Git-Tag: MMI-PSA29.97-13-9~35531^2~30 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=97af0a911bfb1e798c395c6ebabb4731f821736f;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git 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 Acked-by: Alan Cox Signed-off-by: Greg Kroah-Hartman --- 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, __FUNCTION__, port->number, cmd, arg); switch (cmd) { - case TCFLSH: - /* FIXME */ - return 0; - case TIOCMBIS: if (copy_from_user(&x, user_arg, sizeof(x))) return -EFAULT;