Joerg Roedel 6bc779ee05 PCI/ACPI: Check for _OSC support in acpi_pci_osc_control_set()
Get rid of acpi_pci_osc_support() and check for _OSC supported features
directly in acpi_pci_osc_control_set(). There is no point in doing an
unconditional _OSC query with control=0 even when the kernel later wants to
take control over more features.

This saves one _OSC query and simplifies the code by getting rid of the
acpi_pci_osc_support() function. As a side effect, the !control checks in
acpi_pci_query_osc() can also be removed.

Link: https://lore.kernel.org/r/20210824122054.29481-5-joro@8bytes.org
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Rafael J. Wysocki <rafael@kernel.org>
2021-09-28 16:19:37 -05:00
..
2021-07-02 13:22:47 -07:00
2021-08-04 18:08:50 +02:00
2021-04-08 16:17:32 +02:00
2021-06-23 19:27:50 +02:00
2021-09-01 08:44:42 -07:00
2021-06-30 12:21:16 -07:00
2020-11-09 19:25:20 +01:00
2021-06-30 12:21:16 -07:00
2021-07-02 13:22:47 -07:00
2021-06-07 15:36:46 +02:00
2020-11-09 19:08:06 +01:00
2021-06-25 15:02:43 +02:00
2020-11-09 19:08:06 +01:00