Commit 02c09177 authored by Rafael J. Wysocki's avatar Rafael J. Wysocki

Merge back earlier 'acpi-lpss' material for v3.20

parents 3df2da96 b893e80e
...@@ -125,7 +125,7 @@ static struct lpss_device_desc lpt_dev_desc = { ...@@ -125,7 +125,7 @@ static struct lpss_device_desc lpt_dev_desc = {
}; };
static struct lpss_device_desc lpt_i2c_dev_desc = { static struct lpss_device_desc lpt_i2c_dev_desc = {
.flags = LPSS_CLK | LPSS_CLK_GATE | LPSS_LTR, .flags = LPSS_CLK | LPSS_LTR,
.prv_offset = 0x800, .prv_offset = 0x800,
}; };
...@@ -334,6 +334,8 @@ static int acpi_lpss_create_device(struct acpi_device *adev, ...@@ -334,6 +334,8 @@ static int acpi_lpss_create_device(struct acpi_device *adev,
pdata->mmio_size = resource_size(&rentry->res); pdata->mmio_size = resource_size(&rentry->res);
pdata->mmio_base = ioremap(rentry->res.start, pdata->mmio_base = ioremap(rentry->res.start,
pdata->mmio_size); pdata->mmio_size);
if (!pdata->mmio_base)
goto err_out;
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment