diff options
Diffstat (limited to 'sys/dev/fdt/qcspmi.c')
-rw-r--r-- | sys/dev/fdt/qcspmi.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/fdt/qcspmi.c b/sys/dev/fdt/qcspmi.c index 697dcc69657..f99e888cad5 100644 --- a/sys/dev/fdt/qcspmi.c +++ b/sys/dev/fdt/qcspmi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: qcspmi.c,v 1.2 2022/11/10 12:16:06 patrick Exp $ */ +/* $OpenBSD: qcspmi.c,v 1.3 2022/12/21 23:26:54 patrick Exp $ */ /* * Copyright (c) 2022 Patrick Wildt <patrick@blueri.se> * @@ -497,6 +497,9 @@ qcspmi_intr_establish(void *cookie, int *cells, int ipl, SPMI_IRQ_CLEAR, (1U << ih->ih_pin)); qcspmi_intr_enable(ih); + if (ipl & IPL_WAKEUP) + intr_set_wakeup(sc->sc_ih); + return ih; } |