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

Commit 3205fcd9 authored by Elliot Berman's avatar Elliot Berman
Browse files

haven: irq_lend: Lendee registration persists across transactions



Presently, clients must re-register to receive IRQ lend notification.
Every client presently must do this and there is no use-case to require
clients to re-register to receive IRQ lend notification. Return the
internal IRQ lend state to WAIT_LEND after release, instead of
unregistered.

Change-Id: I17504e2850ae60e68d755b587ff6d0c3e78926d9
Signed-off-by: default avatarElliot Berman <eberman@codeaurora.org>
parent 4510fcd8
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -307,7 +307,7 @@ int hh_irq_release(enum hh_irq_label label)
	ret = hh_rm_vm_irq_release_notify(entry->vmid,
					  entry->virq_handle);
	if (!ret)
		entry->state = HH_IRQ_STATE_NONE;
		entry->state = HH_IRQ_STATE_WAIT_LEND;
	return ret;
}
EXPORT_SYMBOL(hh_irq_release);