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)
commit211565b100993c90b53bf40851eacaefc830cfe0
treecc36893d79c32196877e1b721d84efd51eac9fe6
parentf7e35e4bf1e8dc2c8cbd5e0955dc1bd58558dae0
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: 2a76fa283098 (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