summaryrefslogtreecommitdiff
path: root/drivers/macintosh/windfarm_mpu.h
diff options
context:
space:
mode:
authorDaniel Scally <djrscally@gmail.com>2020-12-05 17:04:03 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-12-30 11:51:32 +0100
commit772dd826a44bd6f44b2c517a6b0c690f7ae9e4cd (patch)
treef13481cdcf2bf6fafa28f184c12788afbb5e9198 /drivers/macintosh/windfarm_mpu.h
parentb9d93a6666560abfa919577b9651132d0cc127ad (diff)
Revert "ACPI / resources: Use AE_CTRL_TERMINATE to terminate resources walks"
commit 12fc4dad94dfac25599f31257aac181c691ca96f upstream. This reverts commit 8a66790b7850a6669129af078768a1d42076a0ef. Switching this function to AE_CTRL_TERMINATE broke the documented behaviour of acpi_dev_get_resources() - AE_CTRL_TERMINATE does not, in fact, terminate the resource walk because acpi_walk_resource_buffer() ignores it (specifically converting it to AE_OK), referring to that value as "an OK termination by the user function". This means that acpi_dev_get_resources() does not abort processing when the preproc function returns a negative value. Signed-off-by: Daniel Scally <djrscally@gmail.com> Cc: 3.10+ <stable@vger.kernel.org> # 3.10+ Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/macintosh/windfarm_mpu.h')
0 files changed, 0 insertions, 0 deletions