diff options
author | Hans de Goede <hdegoede@redhat.com> | 2018-09-23 16:58:08 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2018-09-30 23:38:24 +0300 |
commit | 1e30124ac60abc41d74793900f8b4034f29bcb3d (patch) | |
tree | 26c40a9ea65001f3a1e136445e68f7c969eae46a /firmware | |
parent | a92a5563e3f4189b363de72527efdfaf4789167f (diff) | |
download | linux-1e30124ac60abc41d74793900f8b4034f29bcb3d.tar.xz |
ACPI / LPSS: Make acpi_lpss_find_device() also find PCI devices
On some Cherry Trail systems the GPU ACPI fwnode has power-resources which
point to the PMIC, which is connected over one of the LPSS I2C controllers.
To get the suspend/resume ordering correct for this we need to be able to
add device-links between the GPU and the I2c controller. The GPU is a PCI
device, so this requires acpi_lpss_find_device() to also work on PCI devs.
Tested-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions