]> git.baikalelectronics.ru Git - kernel.git/commit
tty: cyclades: drop broken alt-speed support
authorJohan Hovold <johan@kernel.org>
Tue, 6 Jun 2017 10:54:38 +0000 (12:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 13 Jun 2017 09:49:58 +0000 (11:49 +0200)
commit9bfd411f08b07f25fdafaade3e182b0b0e667046
treec80a05292c811111d7f1f29b39327d8c4239c1c2
parent106983cb3e6ba3f07d28c355fab8ada757bc860f
tty: cyclades: drop broken alt-speed support

Setting an alt_speed using the ASYNC_SPD flags has been deprecated since
v2.1.69, and has been broken since v3.10 and commit 2d978ad72e09 ("TTY:
do not warn about setting speed via SPD_*") without anyone noticing.

Drop the broken alt-speed handling altogether, and add a ratelimited
warning about using TIOCCSERIAL to to change speed as being deprecated.

Note that using ASYNC_SPD_CUST is still supported.

Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Reviewed-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/cyclades.c