From 90cde7f66fc21f9778a93ee652c9501ab4b351dc Mon Sep 17 00:00:00 2001 From: Maximilian Brune Date: Tue, 4 Mar 2025 22:40:32 +0100 Subject: [PATCH] soc/amd/glinda/xhci.c: Fix gpe_configure_sci argument Change-Id: Ia2964d73483a4308f1fb9f194b60a3dbbee5c713 Signed-off-by: Maximilian Brune Reviewed-on: https://review.coreboot.org/c/coreboot/+/86721 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Rudolph Reviewed-by: Felix Held --- src/soc/amd/glinda/xhci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/soc/amd/glinda/xhci.c b/src/soc/amd/glinda/xhci.c index 70a0d84864..b67bb5a060 100644 --- a/src/soc/amd/glinda/xhci.c +++ b/src/soc/amd/glinda/xhci.c @@ -69,7 +69,7 @@ enum cb_err pci_xhci_get_wake_gpe(const struct device *dev, int *gpe) static void configure_xhci_sci(void *unused) { - gpe_configure_sci(xhci_sci_sources, ARRAY_SIZE(xhci_sci_sources) - 1); + gpe_configure_sci(xhci_sci_sources, ARRAY_SIZE(xhci_sci_sources)); } BOOT_STATE_INIT_ENTRY(BS_POST_DEVICE, BS_ON_ENTRY, configure_xhci_sci, NULL);