diff options
Diffstat (limited to 'sys/arch/arm64/dev/aplmbox.c')
-rw-r--r-- | sys/arch/arm64/dev/aplmbox.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/arch/arm64/dev/aplmbox.c b/sys/arch/arm64/dev/aplmbox.c index 090e6a07acb..9c313af857a 100644 --- a/sys/arch/arm64/dev/aplmbox.c +++ b/sys/arch/arm64/dev/aplmbox.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aplmbox.c,v 1.2 2022/01/04 20:55:48 kettenis Exp $ */ +/* $OpenBSD: aplmbox.c,v 1.3 2022/11/09 19:18:11 kettenis Exp $ */ /* * Copyright (c) 2021 Mark Kettenis <kettenis@openbsd.org> * @@ -147,6 +147,9 @@ aplmbox_channel(void *cookie, uint32_t *cells, struct mbox_client *mc) if (mc) { sc->sc_rx_callback = mc->mc_rx_callback; sc->sc_rx_arg = mc->mc_rx_arg; + + if (mc->mc_flags & MC_WAKEUP) + intr_enable_wakeup(sc->sc_ih); } return sc; |