|
@@ -145,7 +145,6 @@ static void acpi_pm_finish(void)
|
|
{
|
|
{
|
|
u32 acpi_state = acpi_target_sleep_state;
|
|
u32 acpi_state = acpi_target_sleep_state;
|
|
|
|
|
|
- suspend_nvs_free();
|
|
|
|
acpi_ec_unblock_transactions();
|
|
acpi_ec_unblock_transactions();
|
|
|
|
|
|
if (acpi_state == ACPI_STATE_S0)
|
|
if (acpi_state == ACPI_STATE_S0)
|
|
@@ -167,6 +166,7 @@ static void acpi_pm_finish(void)
|
|
*/
|
|
*/
|
|
static void acpi_pm_end(void)
|
|
static void acpi_pm_end(void)
|
|
{
|
|
{
|
|
|
|
+ suspend_nvs_free();
|
|
/*
|
|
/*
|
|
* This is necessary in case acpi_pm_finish() is not called during a
|
|
* This is necessary in case acpi_pm_finish() is not called during a
|
|
* failing transition to a sleep state.
|
|
* failing transition to a sleep state.
|