aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/pci_root.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/acpi/pci_root.c')
-rw-r--r--drivers/acpi/pci_root.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/pci_root.c b/drivers/acpi/pci_root.c
index ac8688b89705..1dd6f6c85874 100644
--- a/drivers/acpi/pci_root.c
+++ b/drivers/acpi/pci_root.c
@@ -169,8 +169,8 @@ static acpi_status acpi_pci_query_osc(struct acpi_pci_root *root,
169 *control &= OSC_PCI_CONTROL_MASKS; 169 *control &= OSC_PCI_CONTROL_MASKS;
170 capbuf[OSC_CONTROL_TYPE] = *control | root->osc_control_set; 170 capbuf[OSC_CONTROL_TYPE] = *control | root->osc_control_set;
171 } else { 171 } else {
172 /* Run _OSC query for all possible controls. */ 172 /* Run _OSC query only with existing controls. */
173 capbuf[OSC_CONTROL_TYPE] = OSC_PCI_CONTROL_MASKS; 173 capbuf[OSC_CONTROL_TYPE] = root->osc_control_set;
174 } 174 }
175 175
176 status = acpi_pci_run_osc(root->device->handle, capbuf, &result); 176 status = acpi_pci_run_osc(root->device->handle, capbuf, &result);