aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base/power/resume.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/base/power/resume.c')
-rw-r--r--drivers/base/power/resume.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/base/power/resume.c b/drivers/base/power/resume.c
index 48e3d49d7b65..7cb62d62c958 100644
--- a/drivers/base/power/resume.c
+++ b/drivers/base/power/resume.c
@@ -96,6 +96,7 @@ void dpm_resume(void)
96 96
97void device_resume(void) 97void device_resume(void)
98{ 98{
99 might_sleep();
99 down(&dpm_sem); 100 down(&dpm_sem);
100 dpm_resume(); 101 dpm_resume();
101 up(&dpm_sem); 102 up(&dpm_sem);