Commit 02d2d630 authored by Ilpo Järvinen's avatar Ilpo Järvinen Committed by Yongqiang Liu
Browse files

serial: pl011: UPSTAT_AUTORTS requires .throttle/unthrottle

stable inclusion
from stable-4.19.253
commit c44117bf20a00d377b74f67e36ebe47db1964efd
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I5I4FP


CVE: NA

--------------------------------

commit 211565b1 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: 2a76fa28 (serial: pl011: Adopt generic flag to store auto RTS status)
Cc: stable <stable@kernel.org>
Cc: Lukas Wunner <lukas@wunner.de>
Reported-by: default avatarNuno Gonçalves <nunojpg@gmail.com>
Tested-by: default avatarNuno Gonçalves <nunojpg@gmail.com>
Signed-off-by: default avatarIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Link: https://lore.kernel.org/r/20220614075637.8558-1-ilpo.jarvinen@linux.intel.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarYongqiang Liu <liuyongqiang13@huawei.com>
parent a381471c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment