diff options
Diffstat (limited to 'src/vendorcode/amd/opensil')
-rw-r--r-- | src/vendorcode/amd/opensil/genoa_poc/mpio/chip.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vendorcode/amd/opensil/genoa_poc/mpio/chip.c b/src/vendorcode/amd/opensil/genoa_poc/mpio/chip.c index cae9d4b8e7..2ad10af636 100644 --- a/src/vendorcode/amd/opensil/genoa_poc/mpio/chip.c +++ b/src/vendorcode/amd/opensil/genoa_poc/mpio/chip.c @@ -157,7 +157,8 @@ static void per_device_config(MPIOCLASS_INPUT_BLK *mpio_data, struct device *dev config->gpio_group); port.EngineData = engine_data; const MPIO_PORT_DATA port_data = - MPIO_PORT_DATA_INITIALIZER_PCIE(MpioPortEnabled, + MPIO_PORT_DATA_INITIALIZER_PCIE(is_dev_enabled(dev) ? + MpioPortEnabled : MpioPortDisabled, PCI_SLOT(devfn), PCI_FUNC(devfn), config->hotplug, |