]> 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>
Thu, 14 Jul 2022 14:33:39 +0000 (16:33 +0200)
commit1296b1797ea1020345e5e71afc8299e775b2e855
treef82ee14b4f8e5d39562b1823182498278e70fe37
parentb0a8bb7d70af1c597bcc1ae17823d1d285a7ad86
serial: 8250_bcm7271: Save/restore RTS in suspend/resume

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>
drivers/tty/serial/8250/8250_bcm7271.c