mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-15 01:01:56 -04:00
haven: configure dbl and msgq interrupts as wakeup capable
Configure dbl and msgq interrupts as wakeup capable to wake up the SVM from suspend-to-RAM state. Change-Id: I1825109736ace36c5c871d52dfefe4a320fea335 Signed-off-by: Murali Nalajala <mnalajal@codeaurora.org>
This commit is contained in:
parent
67629947f6
commit
a02a3e54b2
2 changed files with 2 additions and 0 deletions
|
|
@ -569,6 +569,7 @@ int hh_dbl_populate_cap_info(enum hh_dbl_label label, u64 cap_id,
|
|||
goto err;
|
||||
}
|
||||
|
||||
irq_set_irq_wake(rx_irq, 1);
|
||||
wake_up_interruptible(&cap_table_entry->cap_wq);
|
||||
|
||||
pr_debug("%s: label: %d; rx_cap_id: %llu; dir: %d; rx_irq: %d\n",
|
||||
|
|
|
|||
|
|
@ -462,6 +462,7 @@ int hh_msgq_populate_cap_info(enum hh_msgq_label label, u64 cap_id,
|
|||
goto err;
|
||||
}
|
||||
|
||||
irq_set_irq_wake(irq, 1);
|
||||
spin_unlock(&cap_table_entry->cap_entry_lock);
|
||||
|
||||
pr_debug(
|
||||
|
|
|
|||
Loading…
Reference in a new issue