diff options
-rw-r--r-- | src/soc/intel/elkhartlake/pmc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/elkhartlake/pmc.c b/src/soc/intel/elkhartlake/pmc.c index 223e17070f..e556ac81f8 100644 --- a/src/soc/intel/elkhartlake/pmc.c +++ b/src/soc/intel/elkhartlake/pmc.c @@ -76,7 +76,7 @@ static void soc_pmc_read_resources(struct device *dev) res = new_resource(dev, 1); res->base = (resource_t)ACPI_BASE_ADDRESS; res->size = (resource_t)ACPI_BASE_SIZE; - res->limit = res->base + res->size + 1; + res->limit = res->base + res->size - 1; res->flags = IORESOURCE_IO | IORESOURCE_ASSIGNED | IORESOURCE_FIXED; } |