Commit 68e6939
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>1 parent a30badf commit 68e6939
1 file changed
Lines changed: 28 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
115 | 116 | | |
116 | 117 | | |
117 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
118 | 125 | | |
119 | 126 | | |
120 | 127 | | |
| |||
1623 | 1630 | | |
1624 | 1631 | | |
1625 | 1632 | | |
| 1633 | + | |
1626 | 1634 | | |
1627 | 1635 | | |
1628 | 1636 | | |
| |||
1633 | 1641 | | |
1634 | 1642 | | |
1635 | 1643 | | |
1636 | | - | |
1637 | | - | |
| 1644 | + | |
| 1645 | + | |
| 1646 | + | |
| 1647 | + | |
| 1648 | + | |
| 1649 | + | |
| 1650 | + | |
| 1651 | + | |
| 1652 | + | |
| 1653 | + | |
| 1654 | + | |
| 1655 | + | |
| 1656 | + | |
1638 | 1657 | | |
1639 | 1658 | | |
1640 | 1659 | | |
| |||
1644 | 1663 | | |
1645 | 1664 | | |
1646 | 1665 | | |
| 1666 | + | |
1647 | 1667 | | |
1648 | 1668 | | |
1649 | 1669 | | |
1650 | | - | |
1651 | | - | |
1652 | | - | |
| 1670 | + | |
| 1671 | + | |
| 1672 | + | |
| 1673 | + | |
| 1674 | + | |
| 1675 | + | |
1653 | 1676 | | |
1654 | 1677 | | |
1655 | 1678 | | |
| |||
0 commit comments