commit | 81732b26e05994552f347746eb11762e986079a0 | [log] [tgz] |
---|---|---|
author | Al Viro <viro@zeniv.linux.org.uk> | Tue Sep 11 23:28:07 2018 -0400 |
committer | Al Viro <viro@zeniv.linux.org.uk> | Sat Oct 13 00:50:34 2018 -0400 |
tree | a633d4266d0279ab86464dc33d6f104a5d51a3dd | |
parent | 6a9daed31cc8dc1ca0b3d25f85426adbd2112293 [diff] |
usb-serial: begin switching to ->[sg]et_serial() add such methods for usb_serial_driver, provide tty_operations ->[sg]et_serial() calling those. For now the lack of methods in driver means ENOIOCTLCMD from usb-serial ->[sg]et_serial(), making tty_ioctl() fall back to calling ->ioctl(). Once all drivers are converted, we'll be returning -ENOTTY instead, completing the switchover. Reviewed-by: Johan Hovold <johan@kernel.org> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>