summaryrefslogtreecommitdiff
path: root/src/soc/intel/jasperlake/xhci.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel/jasperlake/xhci.c')
-rw-r--r--src/soc/intel/jasperlake/xhci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/jasperlake/xhci.c b/src/soc/intel/jasperlake/xhci.c
index 75663795d3..49f919d78f 100644
--- a/src/soc/intel/jasperlake/xhci.c
+++ b/src/soc/intel/jasperlake/xhci.c
@@ -31,7 +31,7 @@ const struct xhci_usb_info *soc_get_xhci_usb_info(pci_devfn_t xhci_dev)
static void set_xhci_lfps_sampling_offtime(struct device *dev, uint8_t time_ms)
{
void *addr;
- const struct resource *res = find_resource(dev, PCI_BASE_ADDRESS_0);
+ const struct resource *res = probe_resource(dev, PCI_BASE_ADDRESS_0);
if (!res)
return;