tty: serial: samsung_tty: Fix suspend/resume on S5L
authorHector Martin <marcan@marcan.st>
Mon, 2 May 2022 09:25:05 +0000 (18:25 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 May 2022 16:24:47 +0000 (18:24 +0200)
commit135c579d77d066aece83609329150b87fe81e454
treeaf18c977093445a50564540530a55693a9764a48
parent91ca09ca7f310aaefb2d56d57421e02cc44a7eb4
tty: serial: samsung_tty: Fix suspend/resume on S5L

We were restoring the IRQ masks then clearing them again, because
ucon_mask wasn't set properly. Adding that makes suspend/resume
work as intended.

Signed-off-by: Hector Martin <marcan@marcan.st>
Link: https://lore.kernel.org/r/20220502092505.30934-1-marcan@marcan.st
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/samsung_tty.c
include/linux/serial_s3c.h