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

Commit 10adaac1 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "haven: irq_lend: handle irq accept failure case"

parents 69f2bb92 eb84f832
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -116,7 +116,8 @@ static int hh_irq_lent_nb_handler(struct notifier_block *this,
	spin_lock_irqsave(&hh_irq_lend_lock, flags);
	for (label = 0; label < HH_IRQ_LABEL_MAX; label++) {
		entry = &hh_irq_entries[label];
		if (entry->state != HH_IRQ_STATE_WAIT_LEND)
		if (entry->state != HH_IRQ_STATE_WAIT_LEND &&
				entry->state != HH_IRQ_STATE_LENT)
			continue;

		if (label == lent->virq_label &&