aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorJoerg Roedel <[email protected]>2021-08-24 14:20:54 +0200
committerBjorn Helgaas <[email protected]>2021-09-28 16:19:37 -0500
commit6bc779ee05d4fa66c99096dbf88ff61acbb8a887 (patch)
treeb325c17ab717242e8db8f7a463c12794bd8330ec /scripts/gdb/linux/utils.py
parent87f1f87a16818c36431391ea8c30ea926cab917f (diff)
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/[email protected] Signed-off-by: Joerg Roedel <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Reviewed-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions