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

Commit ada241dc authored by Bob Moore's avatar Bob Moore Committed by Len Brown
Browse files

ACPICA: Rename acpi_ex_system_do_suspend->acpi_ex_system_do_sleep



Suspend has other meanings in ACPI context, name was misleading.

Signed-off-by: default avatarBob Moore <robert.moore@intel.com>
Signed-off-by: default avatarLin Ming <ming.m.lin@intel.com>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 17b82327
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -281,7 +281,7 @@ acpi_status
acpi_ex_system_do_notify_op(union acpi_operand_object *value,
acpi_ex_system_do_notify_op(union acpi_operand_object *value,
			    union acpi_operand_object *obj_desc);
			    union acpi_operand_object *obj_desc);


acpi_status acpi_ex_system_do_suspend(u64 time);
acpi_status acpi_ex_system_do_sleep(u64 time);


acpi_status acpi_ex_system_do_stall(u32 time);
acpi_status acpi_ex_system_do_stall(u32 time);


+1 −1
Original line number Original line Diff line number Diff line
@@ -173,7 +173,7 @@ acpi_status acpi_ex_opcode_1A_0T_0R(struct acpi_walk_state *walk_state)


	case AML_SLEEP_OP:	/*  Sleep (msec_time) */
	case AML_SLEEP_OP:	/*  Sleep (msec_time) */


		status = acpi_ex_system_do_suspend(operand[0]->integer.value);
		status = acpi_ex_system_do_sleep(operand[0]->integer.value);
		break;
		break;


	case AML_STALL_OP:	/*  Stall (usec_time) */
	case AML_STALL_OP:	/*  Stall (usec_time) */
+4 −4
Original line number Original line Diff line number Diff line
@@ -182,18 +182,18 @@ acpi_status acpi_ex_system_do_stall(u32 how_long)


/*******************************************************************************
/*******************************************************************************
 *
 *
 * FUNCTION:    acpi_ex_system_do_suspend
 * FUNCTION:    acpi_ex_system_do_sleep
 *
 *
 * PARAMETERS:  how_long        - The amount of time to suspend,
 * PARAMETERS:  how_long        - The amount of time to sleep,
 *                                in milliseconds
 *                                in milliseconds
 *
 *
 * RETURN:      None
 * RETURN:      None
 *
 *
 * DESCRIPTION: Suspend running thread for specified amount of time.
 * DESCRIPTION: Sleep the running thread for specified amount of time.
 *
 *
 ******************************************************************************/
 ******************************************************************************/


acpi_status acpi_ex_system_do_suspend(u64 how_long)
acpi_status acpi_ex_system_do_sleep(u64 how_long)
{
{
	ACPI_FUNCTION_ENTRY();
	ACPI_FUNCTION_ENTRY();