Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b7b09b1c authored by Satoru Takeuchi's avatar Satoru Takeuchi Committed by Len Brown
Browse files

ACPI: update comment



Fixing wrong description for acpi_gpe_sleep_prepare().

acpi_gpe_sleep_prepare() had only used on power off and was changed
to also used on entering some sleep state. However its description
isn't changed yet.

Signed-off-by: default avatarSatoru Takeuchi <takeuchi_satoru@jp.fujitsu.com>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 6b15484c
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -183,11 +183,11 @@ late_initcall(acpi_wakeup_device_init);
#endif
#endif


/*
/*
 * Disable all wakeup GPEs before power off.
 * Disable all wakeup GPEs before entering requested sleep state.
 * 
 *	@sleep_state:	ACPI state
 * Since acpi_enter_sleep_state() will disable all
 * Since acpi_enter_sleep_state() will disable all
 * RUNTIME GPEs, we simply mark all GPES that
 * RUNTIME GPEs, we simply mark all GPES that
 * are not enabled for wakeup from S5 as RUNTIME.
 * are not enabled for wakeup from requested state as RUNTIME.
 */
 */
void acpi_gpe_sleep_prepare(u32 sleep_state)
void acpi_gpe_sleep_prepare(u32 sleep_state)
{
{