]> 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>
Mon, 27 Jun 2022 12:47:02 +0000 (14:47 +0200)
commit5089c88121b30eedb535ce28ecd8583af5a4f962
treecc36893d79c32196877e1b721d84efd51eac9fe6
parent0ee48ce7f854d0d97053c2d3e2405f85ad15ed8a
serial: pl011: UPSTAT_AUTORTS requires .throttle/unthrottle

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: 27a54f3af3cd (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