mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-12 07:37:31 -04:00
msm: ipa3: Changes to resume only suspend operation complete
In suspend abort scenario before receving suspend callback and resume it again causing issues. To avoid this scenario only if suspend completed doing resume operation. Change-Id: I0cf08b4e9ab4f74c44d4bcb14f9472b8332b5f7b
This commit is contained in:
parent
7705d29b41
commit
3b56c6e41a
1 changed files with 1 additions and 1 deletions
|
|
@ -459,7 +459,7 @@ static int ipa_pm_notify(struct notifier_block *b, unsigned long event, void *p)
|
|||
switch (event) {
|
||||
case PM_POST_SUSPEND:
|
||||
#ifdef CONFIG_DEEPSLEEP
|
||||
if (mem_sleep_current == PM_SUSPEND_MEM) {
|
||||
if (mem_sleep_current == PM_SUSPEND_MEM && ipa3_ctx->deepsleep) {
|
||||
IPADBG("Enter deepsleep resume\n");
|
||||
ipa3_deepsleep_resume();
|
||||
IPADBG("Exit deepsleep resume\n");
|
||||
|
|
|
|||
Loading…
Reference in a new issue