tty: serial: samsung_tty: Support runtime PM
authorHector Martin <marcan@marcan.st>
Sun, 19 Sep 2021 17:23:11 +0000 (02:23 +0900)
committerHector Martin <marcan@marcan.st>
Sat, 19 Feb 2022 07:53:00 +0000 (16:53 +0900)
commit5cbd878a3ba7b882e78bf7ab3fe57d7b94fb4acd
tree8a6c4b6942189d4f9407b17346d26638aaf77c2b
parent3c30cf91b5ecc7272b3d2942ae0505dd8320b81c
tty: serial: samsung_tty: Support runtime PM

This allows idle UART devices to be suspended using the standard
runtime-PM framework. The logic is modeled after stm32-usart.

Signed-off-by: Hector Martin <marcan@marcan.st>
drivers/tty/serial/samsung_tty.c