mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
PM / Sleep: use resume event when call dpm_resume_early
When dpm_suspend_noirq fail, state is PMSG_SUSPEND, should change to PMSG_RESUME when dpm_resume_early is called Signed-off-by: Feng Hong <[email protected]> Signed-off-by: Raul Xiong <[email protected]> Signed-off-by: Neil Zhang <[email protected]> Cc: [email protected] Signed-off-by: Rafael J. Wysocki <[email protected]>
This commit is contained in:
parent
bbdc18a3fb
commit
997a031107
1 changed files with 1 additions and 1 deletions
|
|
@ -996,7 +996,7 @@ int dpm_suspend_end(pm_message_t state)
|
|||
|
||||
error = dpm_suspend_noirq(state);
|
||||
if (error) {
|
||||
dpm_resume_early(state);
|
||||
dpm_resume_early(resume_event(state));
|
||||
return error;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue