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>
Tue, 18 Jan 2022 11:20:27 +0000 (20:20 +0900)
commita9d968dd6483512f5d78af61e3ddfe69e5f9c5a7
treeda049de5689153df1208f7b5cd0c93d0c5820579
parent121ebf235daeb26408ac666721823cd8cb6cefec
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