Merge branch 'suspend-ioremap-cache' into release
This commit is contained in:
@@ -124,8 +124,7 @@ static int acpi_pm_freeze(void)
|
||||
static int acpi_pm_pre_suspend(void)
|
||||
{
|
||||
acpi_pm_freeze();
|
||||
suspend_nvs_save();
|
||||
return 0;
|
||||
return suspend_nvs_save();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -151,7 +150,7 @@ static int acpi_pm_prepare(void)
|
||||
{
|
||||
int error = __acpi_pm_prepare();
|
||||
if (!error)
|
||||
acpi_pm_pre_suspend();
|
||||
error = acpi_pm_pre_suspend();
|
||||
|
||||
return error;
|
||||
}
|
||||
|
Reference in New Issue
Block a user