Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a02a3e54 authored by Murali Nalajala's avatar Murali Nalajala
Browse files

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: default avatarMurali Nalajala <mnalajal@codeaurora.org>
parent 67629947
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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",
+1 −0
Original line number Diff line number Diff line
@@ -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(