Skip to content

Commit

Permalink
Koi: Fix suspend
Browse files Browse the repository at this point in the history
Previously, koi would not suspend when the display is turned off.
MCE does not explicitly request system suspend, it just keeps a wakelock when the system should be running and relies on in-kernel autosleep to suspend the system when no wakelocks are held. Since koi's in-kernel autosleep was not enabled, it would never suspend.
  • Loading branch information
dodoradio authored and MagneFire committed Mar 29, 2023
1 parent 980a560 commit ab87350
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion meta-koi/recipes-kernel/linux/linux-koi/defconfig
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ CONFIG_WAKELOCK=y
# CONFIG_HIBERNATION is not set
CONFIG_PM_SLEEP=y
CONFIG_PM_SLEEP_SMP=y
# CONFIG_PM_AUTOSLEEP is not set
CONFIG_PM_AUTOSLEEP=y
CONFIG_PM_WAKELOCKS=y
CONFIG_PM_WAKELOCKS_LIMIT=100
# CONFIG_PM_WAKELOCKS_GC is not set
Expand Down

0 comments on commit ab87350

Please sign in to comment.