diff options
author | Thomas Richard <thomas.richard@bootlin.com> | 2023-10-17 16:05:40 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-10-21 19:34:34 +0300 |
commit | 68e6939ea9ec3d6579eadeab16060339cdeaf940 (patch) | |
tree | 65f1a0d194f28d98b78d473a1377203265713672 /drivers/tty/serial/8250/8250_pci.c | |
parent | a30badfd7c13fc8763a9e10c5a12ba7f81515a55 (diff) | |
download | linux-68e6939ea9ec3d6579eadeab16060339cdeaf940.tar.xz |
serial: 8250_omap: Set the console genpd always on if no console suspend
If the console suspend is disabled, the genpd of the console shall not
be powered-off during suspend.
Set the flag GENPD_FLAG_ALWAYS_ON to the corresponding genpd during
suspend, and restore the original value during the resume.
Signed-off-by: Thomas Richard <thomas.richard@bootlin.com>
Link: https://lore.kernel.org/r/20231017130540.1149721-1-thomas.richard@bootlin.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/8250/8250_pci.c')
0 files changed, 0 insertions, 0 deletions