]> Pileus Git - ~andy/linux/commit
ACPI / LPSS: override SDIO private register space size from ACPI tables
authorMika Westerberg <mika.westerberg@linux.intel.com>
Tue, 18 Jun 2013 13:51:35 +0000 (16:51 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 18 Jun 2013 23:33:37 +0000 (01:33 +0200)
commit958c4eb2aa325099ea1f54c7354e381e3d79f3ae
tree7068c52015d50cfcf8ce2e409531a05dae3ae5a3
parent06d8641504726322fca54400bbac982bd44f9a27
ACPI / LPSS: override SDIO private register space size from ACPI tables

The SDIO device in Lynxpoint has its LTR registers reserved for a
WiFi device (a child of the SDIO device) in the ACPI namespace even
though those registers physically belong to the SDIO device itself.
In order to be able to access the SDIO LTR registers from the ACPI
LPSS driver for diagnostic purposes we need to use a size override
for the SDIO private register space.

Add a possibility to override the size of the private register space
of an LPSS device provided by the ACPI tables in the ACPI LPSS driver
and set the correct size for the SDIO device in there.

[rjw: Changelog]
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpi_lpss.c