tty: serial: samsung_tty: Support runtime PM
authorHector Martin <marcan@marcan.st>
Sun, 19 Sep 2021 17:23:11 +0000 (02:23 +0900)
committerJens Axboe <axboe@kernel.dk>
Tue, 1 Mar 2022 17:33:31 +0000 (10:33 -0700)
commit1e7f2c5ed49219a0b90406bdff0dda28ed48fa8f
tree076aecd7057ee3b501e9af91dd8791019588a7f5
parente6ada6df471f847da3b09b357e246c62335bc0bb
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