Skip to content
Commit e60c2991 authored by Michael Walle's avatar Michael Walle Committed by Greg Kroah-Hartman
Browse files

serial: fsl_lpuart: remove RTSCTS handling from get_mctrl()



The wrong code in set_mctrl() was already removed in commit 2b30efe2
("tty: serial: lpuart: Remove unnecessary code from set_mctrl"), but the
code in get_mctrl() wasn't removed. It will not return the state of the
RTS or CTS line but whether automatic flow control is enabled, which is
wrong for the get_mctrl(). Thus remove it.

Fixes: 2b30efe2 ("tty: serial: lpuart: Remove unnecessary code from set_mctrl")
Signed-off-by: default avatarMichael Walle <michael@walle.cc>
Link: https://lore.kernel.org/r/20210512141255.18277-7-michael@walle.cc


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5541a9ba
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment