]> git.baikalelectronics.ru Git - kernel.git/commit
serial: meson: drop low-latency workaround
authorJohan Hovold <johan@kernel.org>
Wed, 21 Apr 2021 09:54:57 +0000 (11:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Apr 2021 10:09:25 +0000 (12:09 +0200)
commited1d6e40b1b9611051f79f298a8c418f6e10f3ff
tree1b5d3adccc55822d9774b58dde9d0c567033b33b
parent03509d2e02a7eab7ddacc98f6b6c064987c8593c
serial: meson: drop low-latency workaround

The meson driver has always carried an unnecessary workaround for the
infamous low_latency behaviour of tty_flip_buffer_push(), which had
already been removed by the time the driver was added by commit
2da7ed3fecbe ("ARM: meson: serial: add MesonX SoC on-chip uart driver").

Specifically, since commit 671ac8a2b918 ("tty: Fix low_latency BUG"),
tty_flip_buffer_push() always schedules a work item to push data to the
line discipline and there's no need to keep any low_latency hacks around.

Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://lore.kernel.org/r/20210421095509.3024-15-johan@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/meson_uart.c