diff options
Diffstat (limited to 'drivers/acpi/pci_root.c')
-rw-r--r-- | drivers/acpi/pci_root.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/pci_root.c b/drivers/acpi/pci_root.c index 0ac546d5e53f..658a4d774f34 100644 --- a/drivers/acpi/pci_root.c +++ b/drivers/acpi/pci_root.c | |||
@@ -201,8 +201,8 @@ static acpi_status acpi_pci_query_osc(struct acpi_pci_root *root, | |||
201 | *control &= OSC_PCI_CONTROL_MASKS; | 201 | *control &= OSC_PCI_CONTROL_MASKS; |
202 | capbuf[OSC_CONTROL_TYPE] = *control | root->osc_control_set; | 202 | capbuf[OSC_CONTROL_TYPE] = *control | root->osc_control_set; |
203 | } else { | 203 | } else { |
204 | /* Run _OSC query for all possible controls. */ | 204 | /* Run _OSC query only with existing controls. */ |
205 | capbuf[OSC_CONTROL_TYPE] = OSC_PCI_CONTROL_MASKS; | 205 | capbuf[OSC_CONTROL_TYPE] = root->osc_control_set; |
206 | } | 206 | } |
207 | 207 | ||
208 | status = acpi_pci_run_osc(root->device->handle, capbuf, &result); | 208 | status = acpi_pci_run_osc(root->device->handle, capbuf, &result); |