]> git.baikalelectronics.ru Git - kernel.git/commit
serial: pl011: UPSTAT_AUTORTS requires .throttle/unthrottle
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 14 Jun 2022 07:56:37 +0000 (10:56 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 21 Jul 2022 18:59:28 +0000 (20:59 +0200)
commit62d80d5764249d7f1b658c9537feb27db6111951
tree4000d924d9a65749cbf0b63e1521ab72be983d26
parent2a4a2686364d30894746d3af2c6dea22ce395405
serial: pl011: UPSTAT_AUTORTS requires .throttle/unthrottle

commit e249a25a3e311ba427cdbb2df31effd76e577fc3 upstream.

The driver must provide throttle and unthrottle in uart_ops when it
sets UPSTAT_AUTORTS. Add them using existing stop_rx &
enable_interrupts functions.

Fixes: 03817927a2bc (serial: pl011: Adopt generic flag to store auto RTS status)
Cc: stable <stable@kernel.org>
Cc: Lukas Wunner <lukas@wunner.de>
Reported-by: Nuno Gonçalves <nunojpg@gmail.com>
Tested-by: Nuno Gonçalves <nunojpg@gmail.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20220614075637.8558-1-ilpo.jarvinen@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/amba-pl011.c