]> git.baikalelectronics.ru Git - kernel.git/commit
tty: serial: uartlite: Add runtime pm support
authorShubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Tue, 13 Jul 2021 06:48:35 +0000 (12:18 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Jul 2021 10:46:52 +0000 (12:46 +0200)
commit5acc50a144826a216309a5faaaa105cb22e5c80b
treedb9ffd979f1191d80aa19fc0d331d28c35070cfa
parent8709da2290f2ad467d329899fa13ff79167ade0a
tty: serial: uartlite: Add runtime pm support

In the commit 4f86e1506a0c ("Revert serial-uartlite: Add runtime
support") the runtime pm support was reverted to aid reverting of
the other patches.

This patch adds the runtime PM support back.
The runtime pm calls are used to gate and enable the clocks.

Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xilinx.com>
Link: https://lore.kernel.org/r/20210713064835.27978-3-shubhrajyoti.datta@xilinx.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/uartlite.c