]> git.baikalelectronics.ru Git - kernel.git/commit
serial: 8250_bcm7271: Save/restore RTS in suspend/resume
authorDoug Berger <opendmb@gmail.com>
Thu, 14 Jul 2022 03:13:15 +0000 (20:13 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 Aug 2022 12:24:07 +0000 (14:24 +0200)
commit5588121479498e8b558be5c118a8a87407a70732
treec21df197f923cbf41fdecbe2aa0bbd549cd95bbb
parentc51e428e31bd63fc0312d75e9a53d313277e50ed
serial: 8250_bcm7271: Save/restore RTS in suspend/resume

[ Upstream commit 1296b1797ea1020345e5e71afc8299e775b2e855 ]

Commit 63e0f239159d ("serial: 8250_bcm7271: UART errors after resuming
from S2") prevented an early enabling of RTS during resume, but it did
not actively restore the RTS state after resume.

Fixes: 63e0f239159d ("serial: 8250_bcm7271: UART errors after resuming from S2")
Signed-off-by: Doug Berger <opendmb@gmail.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20220714031316.404918-1-f.fainelli@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/tty/serial/8250/8250_bcm7271.c