]> git.baikalelectronics.ru Git - kernel.git/commit
mos7720: bury dead TIOCM... in ->ioctl()
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 12 Sep 2018 04:13:10 +0000 (00:13 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 14 Sep 2018 15:12:37 +0000 (11:12 -0400)
commita31932ae56780040ecc225deda50cfdf0859f1e1
tree99cb08990f2983a9916520da200a6d114cb0edba
parent114d4bd43f82a46dfc795cdd818b903eee606d55
mos7720: bury dead TIOCM... in ->ioctl()

These ioctls never reach driver's ->ioctl() - tty_ioctl() handles
them on its own.  ->tiocm[gs]et() is what actually gets called,
and mos7720 provides those, with results equivalent to what the
unreachable code would be doing when called.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/usb/serial/mos7720.c