Commit acf2103f authored by AngeloGioacchino Del Regno's avatar AngeloGioacchino Del Regno Committed by Zheng Zengkai
Browse files

serial: 8250_mtk: Fix register address for XON/XOFF character

stable inclusion
from stable-v5.10.117
commit 86db01f37347aacd3a1db90d166f188e02abd623
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I5L66B

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=86db01f37347aacd3a1db90d166f188e02abd623



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

commit e1bfdbc7 upstream.

The XON1/XOFF1 character registers are at offset 0xa0 and 0xa8
respectively, so we cannot use the definition in serial_port.h.

Fixes: bdbd0a7f ("serial: 8250-mtk: modify baudrate setting")
Signed-off-by: default avatarAngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Cc: stable <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20220427132328.228297-4-angelogioacchino.delregno@collabora.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
Acked-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
parent 681a75a6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment