diff options
| author | Hans de Goede <hdegoede@redhat.com> | 2018-09-23 15:58:08 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-11-24 08:19:24 +0100 |
| commit | aa39d53f2b89361127554d4fd7461d49ad38eed5 (patch) | |
| tree | 88ca61d8c9bd3ab70c691cd7d757ab6717f1440e /include/linux/cmdline-parser.h | |
| parent | 9372a40b54d0e7cf535beb4d9fd93b417d33bf72 (diff) | |
ACPI / LPSS: Make acpi_lpss_find_device() also find PCI devices
[ Upstream commit 1e30124ac60abc41d74793900f8b4034f29bcb3d ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux/cmdline-parser.h')
0 files changed, 0 insertions, 0 deletions
