aboutsummaryrefslogtreecommitdiff
path: root/src/soc/intel/broadwell/xhci.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/broadwell/xhci.c')
-rw-r--r--src/soc/intel/broadwell/xhci.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/soc/intel/broadwell/xhci.c b/src/soc/intel/broadwell/xhci.c
index 8453165d76..75a63cfca3 100644
--- a/src/soc/intel/broadwell/xhci.c
+++ b/src/soc/intel/broadwell/xhci.c
@@ -18,6 +18,7 @@
#include <device/device.h>
#include <device/pci.h>
#include <device/pci_ids.h>
+#include <arch/acpi.h>
#include <arch/io.h>
#include <soc/ramstage.h>
#include <soc/xhci.h>
@@ -146,7 +147,7 @@ void usb_xhci_sleep_prepare(device_t dev, u8 slp_typ)
u8 *mem_base = usb_xhci_mem_base(dev);
u8 is_broadwell = !!(cpu_family_model() == BROADWELL_FAMILY_ULT);
- if (!mem_base || slp_typ < 3)
+ if (!mem_base || slp_typ < ACPI_S3)
return;
/* Set D0 state */