Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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;