summaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2018-01-26 16:02:57 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-02-04 09:11:56 +0100
commitb0fd6772cfe10cd1edd65a376522e430e5f1bc58 (patch)
tree70a3526f6aee75b5789d3d6be96a43e4e8b139e2 /drivers/acpi
parentACPI: export acpi_bus_get_status_handle() (diff)
downloadlinux-b0fd6772cfe10cd1edd65a376522e430e5f1bc58.tar.xz
linux-b0fd6772cfe10cd1edd65a376522e430e5f1bc58.zip
PCI: acpiphp_ibm: prepare for acpi_get_object_info() no longer returning status
acpi_get_object_info() is intended for early probe usage and as such should not call any methods which may rely on OpRegions, but it used to also call _STA to get the status, which on some systems does rely on OpRegions, this behavior and the acpi_device_info.current_status member are being removed. This commit prepares the acpiphp_ibm code for this by having it get the status itself using acpi_bus_get_status_handle(). Note no error handling is necessary on any errors acpi_bus_get_status_handle() leaves the value of the passed in current_status at its 0 initialization value. Acked-by: Bjorn Helgaas <bhelgaas@google.com> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi')
0 files changed, 0 insertions, 0 deletions