Skip to content

Commit 87cf461

Browse files
committed
Merge tag 'pm-6.16-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm
Pull power management fix from Rafael Wysocki: "Fix a coding mistake in a previous fix related to system suspend and hibernation merged recently" * tag 'pm-6.16-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm: PM: sleep: Call pm_restore_gfp_mask() after dpm_resume()
2 parents a0f8361 + ec3cae6 commit 87cf461

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/base/power/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1236,8 +1236,8 @@ void dpm_complete(pm_message_t state)
12361236
*/
12371237
void dpm_resume_end(pm_message_t state)
12381238
{
1239-
pm_restore_gfp_mask();
12401239
dpm_resume(state);
1240+
pm_restore_gfp_mask();
12411241
dpm_complete(state);
12421242
}
12431243
EXPORT_SYMBOL_GPL(dpm_resume_end);

0 commit comments

Comments
 (0)